单项选择题

执行下列语句后,程序的运行结果为()
int a=10;
void f()
{
a=12;
}
void main()
{
f();
printf(""%d"",a);
}

A.10
B.12
C.0
D.不确定

微信扫码免费搜题