What is the difference between structure and union in c?
In structure, memory is allocated for all variables. Where as in union memory is allocated for only one variable which requires more memory. (i.e for higher data type variable).
Structure and union both allocates memory for all variables
Both are correct
none are correct
Back To Top