定义结构体

1. 完整例子

C
1struct Point {
2 int x;
3 int y;
4};
5 
6struct Student {
7 char name[16];
8 int age;
9 float score;
10};

2. 说明