- C structures correspond to categories, and C structure
objects correspond to individuals.
- You can view structures as user-defined data types.
- Structure definitions contain structure variables.
- If you want to define a structure,
then instantiate the following pattern:
struct structure name {
structure variable declaration 1
...
structure variable declaration n
};
- If you want to use a structure object's structure variable's value,
then instantiate the following pattern:
structure object's name.structure variables's name
- If you want to assign a structure object's structure variables's value,
then instantiate the following pattern:
structure object's name.structure variables's name
= expression;