填空题

下面程序的运行结果是: 【19】 。
typedef union student
char name[10];
long sno;
char sex;
float score[4];
STU;
main()
STU a[5];
Printf(“%d\n”,sizeof(a));

【参考答案】

80
<上一题 目录 下一题>
热门 试题

填空题
以下程序运行后的输出结果是 【11】 。 void fun(int x,int y) x=x+y;Y=x-y;x=x-y; printf(“%d,%d”,x,y); main() int x=2,y=3; fun(x,y); printf(“%d,%d n”,x,y);
填空题
函数sstrcmp()的功能是对两个字符串进行比较。当s所指字符串和t所指字符串相等时,返回值为0;当s所指字符串大于t所指字符串时,返回值大于0;当s所指字符串小于t所指字符串时,返回值小于0 (功能等同于库函数strcmp())。请填空。 #include<stdio.h> int sstrcmp(char *s,char *t) while(*s&&*t&&*s== 【15】 ) s++;t++; return 【16】 ;
相关试题
  • 若fp已正确定义为一个文件指针,d1.dat为...