Purpose of structure in C :
Structure is a user-defined data in C language will allows us to combine data of different types together.
Structure helps to construct a complex data type which is more meaningful.
It is similar to an array, but an array holds dada of similar type only which structure can hold data of any type.
Each element of a structure is called a member. It can store various information.
The struct keyword is used to define the structure in C language.
Uses of structure in C :
C structures can be used to store huge data.
structure can be used to send data to the pointer.
C structures can interact with keyboard and mouse to store the data.
C structure can be used to check computer’s memory size data.
Uses of special data structure to store the collection of different data types.
Structures can be used to clean output screen contents.