单项选择题

若有定义:chara[]="abcdef";charb[]="xyz";则以下程序段运行后屏幕输出为()
strcpy(a,b);
printf("%c",a[2]);

A.c
B.z
C.\0
D.d