程序运算结果帮忙算下struct s1{\x05char c1,c2;\x05int n;};struct s2{\x05int n;\x05struct s1 m;} m = {1,{‘A’,’B’,2} };int main(void){\x05 printf(“%d\t%d\t%c\t%c\n”,m.n,m.m.n,m.m.c1,m.m.c2);\x05return 0;}

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/30 14:41:25

程序运算结果帮忙算下
struct s1{
\x05char c1,c2;
\x05int n;
};
struct s2{
\x05int n;
\x05struct s1 m;
} m = {1,{‘A’,’B’,2} };
int main(void)
{\x05 printf(“%d\t%d\t%c\t%c\n”,m.n,m.m.n,m.m.c1,m.m.c2);
\x05return 0;
}

1 2 A B