Difference between union and structure in c++
Answers
Answered by
3
1. With a union, all members share the same memory.
With a struct, they do not share memory.
2. Size of the struct is double than that of union
With a struct, they do not share memory.
2. Size of the struct is double than that of union
Answered by
3
1. With a union, all members share the same memory.
With a struct, they do not share memory.
2. Size of the struct is double than that of union
With a struct, they do not share memory.
2. Size of the struct is double than that of union
CHILAKAMARRI:
CAN YOU MARK AS BARINLEST ANSWER
Similar questions