单项选择题

以下程序的输出结果是( )。
main()
char a[10]='1','2','3','4','5','6','7','8','9','\0'),*p;
int i;
i=8;
p=a+i;
printf("%s\n",p-3);

A.6
B.6789
C.'6'
D.789