what is difference between structure and union? explain?
Answers
Answered by
3
Structure and union both are user defined data types which contains variables of different data types. ... Inunion, the total memory space allocated is equal to the member with largest size. All other members share the same memory space. This is the biggest difference between structure and union.
Answered by
3
Heyyy..here is ur answer....⬇️
May it helps uh...☺
⬇️Difference between structure and union-
➡️Structure and union both are user defined data types which contains variables of different data types. ... In union, the total memory space allocated is equal to the member with largest size. All other members share the same memory space. This is the biggest difference between structure and union.
Hope it helps uh...✌
Thanx...❤
By- Rî
May it helps uh...☺
⬇️Difference between structure and union-
➡️Structure and union both are user defined data types which contains variables of different data types. ... In union, the total memory space allocated is equal to the member with largest size. All other members share the same memory space. This is the biggest difference between structure and union.
Hope it helps uh...✌
Thanx...❤
By- Rî
Similar questions