difference between struct and union code example
Example: difference between structure and union
struct [structure name]
{
member definition;
member definition;
...
member definition;
};
struct [structure name]
{
member definition;
member definition;
...
member definition;
};