下面程序的运行结果是#include int main(){int a=201,b=012;printf(“%2d,%2d\n”,a,b);return 0;}
查看答案
下面程序的运行结果是#include int main(){int n=0;n+=(n=10);printf(“%d\n”,n);return 0;}
下面程序的运行结果是#include int main(){int a=1,b=2,c=3;printf(“%d,%d,%d,%d\n”,a=b=c,a=b==c,a==(b=c),a==(b==c));return 0;}
下面程序的运行结果是#include int main(){int i,j;i=8;j=10;printf(“%d,%d,%d,%d\n”,i,j,++i,j++);return 0;}
下面程序的运行结果是#include int main(){int m=0xabc,n=0xabc;m-=n;printf(“%x\n”,m);return 0;}