What is the major difference between union and structure with example with explanation
Answers
Answered by
0
Answer:
The structure and union both are the container data types that can hold data of any “type”. The one major difference that distinguishes structure and union is that the structure has a separate memory location for each of its members whereas, the members of a union share the same memory location.Explanation:
Similar questions
English,
5 months ago
Biology,
5 months ago
Computer Science,
10 months ago
Math,
10 months ago
Math,
1 year ago