Level 1

Structures

views

8:22
Suppose, you want to save the marks obtained by a student in all the subjects then you can do so by creating a variable for each subject. But as the number of students increases this will become a cumbersome and complicated task. Structures are used to simplify these kind of situations. Variables are created for all the information that needs to be saved for a student and is saved as a group in a structure.