what is the defrenece between structure and union
Answer Posted / renuka
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 is declared.
Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
How can I implement sets or arrays of bits?
What is union and structure in c?
What is the difference between array and linked list in c?
How can I convert a number to a string?
Why do we need functions in c?
What is a good way to implement complex numbers in c?
What is #error and use of it?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
Explain what does the format %10.2 mean when included in a printf statement?
What is variables in c?
Calculate 1*2*3*____*n using recursive function??
Write a program to reverse a string.
What is volatile keyword in c?
How old is c programming language?
Explain the difference between malloc() and calloc() function?