what is the defrenece between structure and union
Answer Posted / abhradeep chatterjee
all of you are correct. ya, structure is declared with the
keyword struct and structure
variables occupy individual memory location.But Unoin is
declared with the keyword union and its variables are
allocated to a memory at which the highest byte of the
variable which is declared.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is property type c?
When should a type cast not be used?
What is difference between union All statement and Union?
What is the purpose of 'register' keyword?
What is a keyword?
What is difference between far and near pointers?
What's the right way to use errno?
How can you pass an array to a function by value?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
What does it mean when a pointer is used in an if statement?
Why c is called top down?
Describe wild pointers in c?
Can we increase size of array in c?
Can you apply link and association interchangeably?
Explain how do you determine whether to use a stream function or a low-level function?