题目内容

//下面程序若从键盘输入:820按回车键,最后的执行结果是【1】__________。#includeintmain(){inttime,h,m;scanf("%d",&time);h=time/60;m=time%60;printf("%d:%d",h,m);return0;}

查看答案
更多问题

//下列程序的输出结果是【1】_________。#includeintmain(){charc='z';printf("%c",c-2);return0;}

//下列程序的输出结果是【1】__________。#includeintmain(){inta=22,b=23;a%=b%=4;printf("%d,%d\n",a,b);return0;}

//下列程序的输出结果是【1】_________。#includeintmain(){charcl='A',c2='B';//注:’A’的ASCII值为65printf("%c,%c,%d\n",cl,c2,c2+1);return0;}

//下列程序的输出结果是【1】__________。#includeintmain(){inti=1;printf("%d,",-i++);printf("i=%d\n",i);return0;}

答案查题题库