What Are the Different Types of Public Records?
The record type is a combination of different types of data. Used to represent a more complex object.
- For example, a student's information consists of student number, name, class, age, and grade. To represent the student information, a record type consisting of five parts: student number, name, class, age, and grade can be defined. Each student Information is a variable of that type. Each part that makes up a record type is called a "member" of the record type. Accessing a variable of record type is achieved by accessing its members. Record types combine parts that describe complex objects into an organic whole, making program logic clearer and program more readable.
- In C, the record type is called a "structure". [1]