difference between structure and union
Answers
Answered by
0
Struct uses all the memory of its member and union uses the largest members memory space
Answered by
0
Differences between structure and union in C are presented in the following table. Structure and union are different in some ways yet they are conceptually same and have following similarities too:
Both are container data types and can contain objects of any type, including other structures and unions or arrays as their members.
Similar questions