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

What does struct student mean in c language?

烟雨青岚
Release: 2020-07-07 15:39:58
Original
8886 people have browsed it

"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;
};
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template