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 you determine the maximum value that a numeric variable can hold?
Explain why C language is procedural?
What is the difference between char array and char pointer?
How do you search data in a data file using random access method?
What are file streams?
What is the main difference between calloc () and malloc ()?
What are near, far and huge pointers?
What are identifiers and keywords in c?
What should malloc() do?
C language questions for civil engineering
How do I send escape sequences to control a terminal or other device?
How do you use a pointer to a function?
What are the two forms of #include directive?
What are the types of operators in c?
how could explain about job profile