what is the defrenece between structure and union
Answer Posted / shruti
Kapildalke -> u are rite..
the differance between a structure and union is that,
in structure memory is allocated to each and every element
of the structure.
in union memory allocated is only of the element which
requires maximum memory.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can you find out how much memory is available?
What does c mean?
Can we replace the struct function in tree syntax with a union?
What is the difference between malloc calloc and realloc in c?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
How can I read data from data files with particular formats?
What is context in c?
Differentiate between ordinary variable and pointer in c.
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
What is getche() function?
Explain what is the difference between far and near ?
What is static memory allocation?
How is actual parameter different from the formal parameter?
What are control structures? What are the different types?