1.
main()
{
char s[]="ABCD",*p;
for (p=s;p<s+4;p+=2)
printf("%s",p);
printf("\n");
}
程序运行后的输出结果是:
2.
struct std
{
char ch;
int a[2];
float t;
double f;
} std1;
结构体变量 std1 占用内存的字节数为:
3.
struct dog
{
char ch[10];
int i;
int *p;
double k;
}dog1;
结构体变量dog1占用内存的字节数为:
3.
有以下结构体说明,请填空,以完成对结构体数组t定义:
struct STR
{
char a;
int b;
float c;
double d;
};
_____struct STR________t[20];
我也不知道,试卷上这么写的。
本回答被提问者和网友采纳