+ 2
Why we are no use union instead of Structure?
C++
4 odpowiedzi
+ 7
yeah right... in union ,only one member is accessed at a time ,it has more ambiguity......
+ 9
bcoz structure has following advantages :
each member have their own memory space, it has less ambiguity, all members of structure can be accessed at a time......
+ 3
yeah this is right answer
+ 3
in Union which member have larger data types it will becomes Union's size all member use that memory.......but in structure every member have its own memory and access any time........am I right?