下列程序的输出结果是 __________ 。#include int main( ){int i=1;printf("%d, ",-i++);printf("i=%d\n", i );return 0;}
查看答案
下列程序运行结果为 __________ 。#include int main( ){float x;int i;x=3.6;i=(int) x;printf("x=%f, i=%d", x, i);return 0;}
以下程序的运行结果是________intmain(){intx=1,y,z;x*=3+2;printf("%d\n",x);x*=y=z=5;printf("%d\n",x);x=y==z;printf("%d\n",x);return0;}
下列程序的运行结果( )int main(){char c='b';printf(" %d, %c\n",c,c);return 0;}
分析下列程序的运行结果#include int main(){int a=25,b=125;float x=12.34567,y=3.1415926;printf("a=%4d,b=%5d,c=%d\n",a,b,a+b);printf("x=%7.2f,y=%5.2f,z=%f\n",x,y,x+y);printf("x=%-7.2f,y=%-5.2f,z=%f\n",x,y,x+y);return 0;}