填空题
下面程序和运行运行结果是【 】。 typedef union student { char name [10]; long sno; char sex; float score [4]; } STU; main ( ) { STU a[5]; prinff( "% d\n", sizeof(a) ); }
【参考答案】
80
点击查看答案
<上一题
目录
下一题>
热门
试题
填空题
下列程序的运行结果是:【 】#include <string.h>char *ss(char *s){ return s+strlen(s) 2;}main( ){ char *p,*str=”abcdefgh”;p=ss(str); printf(“%s n”,p);}
点击查看答案
填空题
以下程序运行后的输出结果是【 】。main( ){ int x=1,y=0,a=0,b=0;switch(x){case 1:switch(y){ case 0:a++; break;case 1:b++; break;}case 2:a++;b++; break;}printf( %d %d n ,a,b);}
点击查看答案
相关试题
以下程序中,fun函数的功能是求3行4列二...
有以下程序main( ){ int t=1,i=...
设有以下定义stuct ss{ int info; st...
程序测试分为静态分析和动态测试。其中【 ...
设有定义:float x=123.4567;,...