一个简单的结构体(非常简单)!第五个东西··
![](zzz/editor/img/code.gif)
# include <stdio.h> struct student { int age; int score; char set; }; int main(void) { struct student st = {18, 90,'B'}; printf("age = %d\nscore = %d\nset = %c\n",st.age ,st.score ,st.set); return 0; }
![](images/smilies/tk/tk33.gif)
# include <stdio.h> struct student { int age; int score; char set; }; int main(void) { struct student st = {18, 90,'B'}; printf("age = %d\nscore = %d\nset = %c\n",st.age ,st.score ,st.set); return 0; }