difference between structure and union.
Answer Posted / truong nguyen
Regarding the struct, each item in the struct is allocated
in a separated memory. And the size of a struct object is
total size of all its items.
But with the union, all its items are in the same memory.
And the size of an union object is size of its item which
has largest size.
| Is This Answer Correct ? | 24 Yes | 0 No |
Post New Answer View All Answers
Why is oop useful?
What does <> mean pseudocode?
What is the problem with multiple inheritance?
Can bst contain duplicates?
What is difference between data abstraction and encapsulation?
What is coupling in oop?
What is encapsulation in oop?
c++ program to swap the objects of two different classes
What is use of overloading?
What is the benefit of oop?
What are the 5 oop principles?
How do you explain polymorphism?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What is the difference between procedural programming and oops?
write a program that takes input in digits and display the result in words from 1 to 1000