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
Math,
8 months ago
Business Studies,
8 months ago
Math,
8 months ago
Biology,
1 year ago
Political Science,
1 year ago
Math,
1 year ago
English,
1 year ago
Science,
1 year ago