填空题
下面程序的运行结果是
【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
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
以下程序运行后的输出结果是 【15】 。 int a=5; fun (int b) static int a=10; a+=b++; printf( %d ,a); main() int c=20; fun(c); a+=c++; Printf( %d n ,a);
点击查看答案&解析
填空题
请在以下程序第一行的下划线处填写适当内容,使程序能正确运行。 【16】 (double,double); main() double x,y; scanf( %1f%1f ,&x,&y); printf( %1f n ,max(x,y)); double max(double a,double b) return(a>b a:b);
点击查看答案&解析
相关试题
以下程序的功能是将字符串s中的数字字符放...
已有定义如下: struct node int data...
以下程序运行后的输出结果是 【14】 。...
以下程序运行后的输出结果是 【18】 。...