+ 1
What is the benefit of union?
Why union? Is the same memory location matter?
3 Respostas
+ 8
Please give us a code sample of what you are talking about. You should also name the programming language in a tag. Thanks!
+ 2
Pls Tag language also..
Unions are used for efficient memory utilization when compare to structs in c...
This ma help you more..
https://stackoverflow.com/questions/252552/why-do-we-need-c-unions
+ 1
it helps u to store different datatypes in the same memmory location.