单项选择题

下列程序执行后的输出结果是( )。
void func(int *a,intb[])
b[0]=*a+6;
main()
int a,b[5];
a=0; b[0]=3;
func(&a,b);printf("%d\n",b[0]);

A.6
B.7
C.8
D.9