正在加载图片...
511结构体的引出及使用 结构体类型可以嵌套定义 例: struct date 或: struct stud int year i i char name 101; int month struct date int day i int year i int month struct stud int day i char name; 3 birthday i struct date birthday int s1, S2 int sI. s25.1.1 结构体的引出及使用 例: struct date { int year ; int month ; int day ; } ; struct stud { char name[10] ; struct date birthday ; int s1 , s2 ; } ; ➢结构体类型可以嵌套定义 或 : struct stud { char name[10] ; struct date { int year ; int month ; int day ; } birthday ; int s1 , s2 ; } ;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有