C Programming
C++ Programming

What are the advantages of unions over structures?

Answer

Wiki User
01/19/2011

union occupies a lesser memory space compared to structure as the same memory block is used for all the members in union