填空题
以下程序的输出结果是______。
#include<stdlibh>
main()
char*s1,*s2,m;
s1=s2=(char*)malloc(sizeof(char));
*s1=15;
*s2=20;
m=*s1+*s2;
printf("%d\n",m);
【参考答案】
40
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
已定义char ch=’$’;int i=1,j;,执行j!=ch&&i++以后,i的值为______。
点击查看答案&解析
填空题
下列程序段是从键盘输入的字符中统计小写字母的个数,用换行符结束循环。请填空。 int n=0,c; c=getchar(); while(c!=’ n’) if(______) n++;
点击查看答案&解析
相关试题
下列程序的输出结果是______。 main...
阅读下列程序,则程序的输出结果为____...
有以下程序 #include <stdio.h> mai...
下面程序的运行结果是______。 #in...
下列程序的输出结果是______。 long...