"struct student" in C language is a structure type name named "student". struct is the identifier of the C language structure type; the structure supports the integration of a set of variables to form a large variable.
"struct student" is the name of a structure type named student.
struct is the identifier of the C language structure type.
The structure supports integrating a group of variables to form a large variable. Its definition form is:
struct name{ type1 var1; type2 var2; ... typen varn; };
The varx in the definition is called a member variable of the structure and can be in any variable form. . When such a structure is defined, struct name becomes a custom type.
Recommended tutorial: "C Language"
The above is the detailed content of What does struct student mean in c language?. For more information, please follow other related articles on the PHP Chinese website!