structure and union difference 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;
};