填空题
以下程序的输出结果是【 】。 #include
main() {char *sl,*s2,m; sl=s2=(char*)malloc(sizeof(char)). *sl=15; *s2=20; m=*sl+*s2; printf("%d\n",m); }
【参考答案】
40
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
用十六进制给存储器中的字节地址进行编号,若地址编号从0000到FFFF,则该存储器的容量为【 】KB。
点击查看答案
填空题
以下程序运行后的输出结果是【 】。#include<string.h>main(){char ch[]= abc ,x[3][4];int i;for(i=0;i<3;1++)strcpy(x[i],ch);for(i=0;i<3;i++)printf( %s ,&x[i][i];printf( n );}
点击查看答案&解析
相关试题
有以下程序void f( int y,int *x)...
以下程序运行后的输出结果是【 】。main(...
函数fun的功能是计算Xndouble fun(double...
以下程序的功能是调用函数fun计算:m=1-...
设有以下定义stuct ss{ int info; st...