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 %lu in c?
Where are the auto variables stored?
What is double pointer?
What are the types of c language?
Is void a keyword in c?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
How are variables declared in c?
What is sizeof in c?
What are shell structures used for?
What is a program?
What is string constants?
Explain how can I right-justify a string?
Write program to remove duplicate in an array?
What is the easiest sorting method to use?
What are the benefits of organizational structure?