正在加载图片...
(2)在些情况下可以对结构体变量的銮体进行操作 例如 struct struct name2 int num, float score 3 studentI, student2; 赋值: student= studentI: 相当于 student2 num=student1 num student2 score=student1 score(2) 在某些情况下可以对结构体变量的整体进行操作 例如: struct struct_name2 { int num; float score; } student1, student2; 赋值: student2=student1; 相当于: student2.num=student1.num; student2.score=student1.score;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有