运行下列程序后,输出结果是()
voidf(int a,int b,int c)
{a=4;b=5;c=6;return(a+b+c);}
main()
{int x=1,y=2,z=3;
f(x,y,z);
printf("%d\n",x);
}
A.1 B.4 C.6 D.15正确答案A
运行下列程序后,输出结果是()
voidf(int a,int b,int c)
{a=4;b=5;c=6;return(a+b+c);}
main()
{int x=1,y=2,z=3;
f(x,y,z);
printf("%d\n",x);
}
A.1 B.4 C.6 D.15正确答案A