Structures:
The second kind of the types of variables is the structure 'Struct' acronym for the word (structure)
Represent the structure of different parts of the data can be different for each part type. It enables us to define our species of special variables, depending on the structure ...
For example:
Suppose we wish to save the path for the site specific from the point where this path composed of direction and distance measured in miles and simplify things we'll impose that the trend is one of the four directions of knowledge within a census orientation
And that the mileage represented by type double
Now we can use separate converts to represent this path as in the following code:
orientation direction;
double distance;
There is nothing wrong in what we have done but it would be simpler if we used a single variable to store this information