下面程序的运行结果是( ).main( ) { int a,b; int *p1=&a,*p2=&b,*t; a=10; b=20; t=p1; p1=p2; p2=t;下面程序的运行结果是( ).main( ){ int a,b;int *p1=&a,*p2=&b,*t;a=10; b=20;t=p1; p1=p2; p2=t;printf("%d,%d\n",a,b); }A.\x05 10,20

来源:学生作业帮助网 编辑:作业帮 时间:2024/08/01 06:49:19
下面程序的运行结果是( ).main( ) { int a,b; int *p1=&a,*p2=&b,*t; a=10; b=20; t=p1; p1=p2; p2=t;下面程序的运行结果是( ).main( ){ int a,b;int *p1=&a,*p2=&b,*t;a=10; b=20;t=p1; p1=p2; p2=t;printf(
x){EWt?|Vˋ^,y{ysX~O=zy y% :I`VZVZVBB,-0V*)0RF%$Y UH6aZTPԓ4FZQ/T@&H'FR`6j0`$'8#r`# F:g \P~͈O_O'$aϓ goyaM x])vh_\g 4 )j

下面程序的运行结果是( ).main( ) { int a,b; int *p1=&a,*p2=&b,*t; a=10; b=20; t=p1; p1=p2; p2=t;下面程序的运行结果是( ).main( ){ int a,b;int *p1=&a,*p2=&b,*t;a=10; b=20;t=p1; p1=p2; p2=t;printf("%d,%d\n",a,b); }A.\x05 10,20
下面程序的运行结果是( ).main( ) { int a,b; int *p1=&a,*p2=&b,*t; a=10; b=20; t=p1; p1=p2; p2=t;
下面程序的运行结果是( ).
main( )
{ int a,b;
int *p1=&a,*p2=&b,*t;
a=10; b=20;
t=p1; p1=p2; p2=t;
printf("%d,%d\n",a,b);
}
A.\x05 10,20
B.\x05 20,10
C.\x05 10,10
D.\x05 20,20

下面程序的运行结果是( ).main( ) { int a,b; int *p1=&a,*p2=&b,*t; a=10; b=20; t=p1; p1=p2; p2=t;下面程序的运行结果是( ).main( ){ int a,b;int *p1=&a,*p2=&b,*t;a=10; b=20;t=p1; p1=p2; p2=t;printf("%d,%d\n",a,b); }A.\x05 10,20
a和b的值一直就没变过,答案是A