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 difference between structure and union in c?
What is the role of && operator in a program code?
Explain the difference between #include "..." And #include <...> In c?
Describe the steps to insert data into a singly linked list.
What is static function in c?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What is the role of this pointer?
How many types of errors are there in c language? Explain
Explain what are multidimensional arrays?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
What does sizeof function do?
What is the difference between exit() and _exit() function in c?
What oops means?