Structure is used to store data items or values of different data types or in other words structures are used to store records. Unlike an array which can store data of similar data type, structure can store data of different data types.
Syntax:
Struct variable
{
data_type variable1;
data_type variable2;
data_type variable n;
}