填空题
下面程序的运行结果是 【17】 。
typedef union student
{ char name[10];
long sno;
char sex;
float score[4];
} STU;
main()
{ STU a[5];
printf("%d\n",sizeof(a));
}
【参考答案】
80
热门
试题
填空题
以下程序运行后的输出结果是 【14】 。main(){ int i,j,a[] [3]={1,2,3,4,5,6,7,8,9);for(i=0;i<3;i++)for(j=i+1;j<3;j++) a[j] [i]=0;for(i=0;i<3;i++){ for(j=0;j<3;j++) printf( %d ,a[i][j]);printf( n );}}