Declaration. The general syntax for a struct declaration in C is: struct tag_name { type member1; type member2; /* declare as many members as desired, but the entire structure size must be known to the compiler.
Read moreWhat is structure explain with syntax?
Syntax to Define a Structure in C structName: This is the name of the structure which is specified after the keyword struct . data_Type: The data type indicates the type of the data members of the structure. A structure can have data members of different data types.
Read more