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
write a program to find 2 power of a 5digit number with out using big int and exponent ?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is oops?what is its use in software engineering?
What are the advantages of polymorphism?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What are classes oop?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is ambiguity in inheritance?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What does no cap mean?
What is class and object in oops?
What is multilevel inheritance in oop?
Why do while loop is used?
What is object and example?
What does it mean when someone says I oop?