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 many header files are in c?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
Stimulate calculator using Switch-case-default statement for two numbers
What is a char c?
what are bit fields? What is the use of bit fields in a structure declaration?
What is #line in c?
How do you initialize pointer variables?
What is a sequential access file?
What is the basic structure of c?
Function calling procedures? and their differences? Why should one go for Call by Reference?
Why is it important to memset a variable, immediately after allocating memory to it ?
What is getch () for?
What is bubble sort technique in c?
List some basic data types in c?