A structure is a collection of variables of different data types.
You will find examples related to structures in this article. To understand examples in this page, you should have the knowledge of the following topics.
|Store information of a student using structure|
|Add two distances (in inch-feet)|
|Add two complex numbers by passing structures to a function|
|Calculate the difference between two time periods|
|Store information of 10 students using structures|
|Store information of n students using structures|