单项选择题

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

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