Explain the difference between structs and unions in C?
|Defines a structure
|Defines a union
|All members get allocated memory
|Compiler allocates memory to largest members
|Possible to initialize one or more members at once
|Gets initialized by the value of the type of the first member
|Possible to access individual member any time
|Can only access one member at a time.
BY Best Interview Question ON 06 Feb 2019