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
List some of the static data structures in C?
What is the difference between the local variable and global variable in c?
Why header files are used?
What is the use of extern in c?
How will you delete a node in DLL?
What is the use of void pointer and null pointer in c language?
Which is better malloc or calloc?
List some applications of c programming language?
Explain how do you print an address?
How many levels of indirection in pointers can you have in a single declaration?
Why isn't it being handled properly?
Is a house a shell structure?
What are identifiers c?
What is the meaning of typedef struct in c?
Explain high-order and low-order bytes.