Home >Backend Development >C#.Net Tutorial >What does struct student mean in c language?

What does struct student mean in c language?

烟雨青岚
烟雨青岚Original
2020-07-07 15:39:468908browse

"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.

What does struct student mean in c language?

"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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn