阅读下列程序段,其执行结果是#include void fun(int a) { int x = 5; x += a++; printf("%d,",x); } void main() { int a = 3,x = 1; fun(a); x += a++; printf("%d\n",x); }A.8,3 B.8,2 C.8,5 D.8,4
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/20 16:35:24
阅读下列程序段,其执行结果是#includevoidfun(inta){intx=5;x+=a++;printf("%d,",x);}voidmain(){inta=3,x=1;fun(a);x+=a
阅读下列程序段,其执行结果是#include void fun(int a) { int x = 5; x += a++; printf("%d,",x); } void main() { int a = 3,x = 1; fun(a); x += a++; printf("%d\n",x); }A.8,3 B.8,2 C.8,5 D.8,4
阅读下列程序段,其执行结果是
#include
void fun(int a)
{ int x = 5;
x += a++;
printf("%d,",x);
}
void main()
{ int a = 3,x = 1;
fun(a);
x += a++;
printf("%d\n",x);
}
A.8,3 B.8,2 C.8,5 D.8,4
阅读下列程序段,其执行结果是#include void fun(int a) { int x = 5; x += a++; printf("%d,",x); } void main() { int a = 3,x = 1; fun(a); x += a++; printf("%d\n",x); }A.8,3 B.8,2 C.8,5 D.8,4
C