填空题
以下程序的输出结果是______。
# include
main()
char a[]=’\1’,’\2’,’\3’,’\4’,’\0’;
printf("%d %d\n",sizeof(a),strlen(a));
【参考答案】
5,4
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
已有定义:char c=’ ’;int a=1,b;(此处c的初值为空格字符),执行b=!c&&a;后b的值为______。
点击查看答案
填空题
以下程序的输出结果是______。#includemain() int n=12345, d; while(n!=0) d=n%10; printf( %d ,d); n =10;
点击查看答案
相关试题
以下程序的输出结果是______。#incl...
设有定义语句:int a[][3]=0,1,...
以下程序中函数fun的功能是:构成一个如图...