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
How can I direct output to the printer?
What is the newline escape sequence?
Differentiate fundamental data types and derived data types in C.
Explain what happens if you free a pointer twice?
Which are low level languages?
what is the basis for selection of arrays or pointers as data structure in a program
Once I have used freopen, how can I get the original stdout (or stdin) back?
What is pivot in c?
What is variable declaration and definition in c?
Can you assign a different address to an array tag?
What is static volatile in c?
how is the examination pattern?
Explain the difference between the local variable and global variable in c?
What is the difference between āgā and āgā in C?
Can you define which header file to include at compile time?