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 unary operator?
What are structural members?
What is difference between static and global variable in c?
What is the difference between if else and switchstatement
What the advantages of using Unions?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
What are the features of c language?
Why c language?
What are pointers in C? Give an example where to illustrate their significance.
Explain what is the use of a semicolon (;) at the end of every program statement?
find out largest elemant of diagonalmatrix
What is #pragma statements?
What is a macro, and explain how do you use it?
How can I open a file so that other programs can update it at the same time?
Is c is a high level language?