diff .between strcture and union
Answers were Sorted based on User's Feedback
Answer / sruthy
union allocates the memory equal to the maximum memory
required by the member of the union but structure allocates
the memory equal to the total memory required by the members
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / revathi pawar
structure is the set of different datatype whereas the
struct is the keyword
union is the one where will not print or give correct ouptut
whereas it will give the address of tat particular string or
no given
union s the keyword
| Is This Answer Correct ? | 1 Yes | 7 No |
how can i print "hello"
What are the types of assignment statements?
how to count no of words,characters,lines in a paragraph.
Find if a number is power of two or not?
Explain how do you generate random numbers in c?
how could explain about job profile
How can you return multiple values from a function?
in malloc and calloc which one is fast and why?
What is a lookup table in c?
what is the difference between const char *p, char const *p, const char* const p
5 Answers Accenture, Aricent, CTS, Geometric Software, Point Cross, Verizon,
What is calloc in c?
Tell us the use of fflush() function in c language?