what is the defrenece between structure and union
Answer Posted / nayanprakash
union is better then structure.union is declared with
keyword union.it can store more data which can store at
hights byte of veeriable is declared.structure is declred
a keyword struct.it will store for indivisul memory space.
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
How can I change the size of the dynamically allocated array?
What does a pointer variable always consist of?
What is the correct declaration of main?
What do you mean by dynamic memory allocation in c?
Is malloc memset faster than calloc?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
How are 16- and 32-bit numbers stored?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
What is binary tree in c?
What is the meaning of 2d in c?
What is a stream in c programming?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
State the difference between x3 and x[3].
What is main function in c?
Can stdout be forced to print somewhere other than the screen?