What is the difference between a structure and a union?
Answer Posted / hr@tgksolutions.com
Structure: All members have their own memory location.
Union: All members share the same memory location.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write a program for the normal snake games find in most of the mobiles.
What is define c?
how can f be used for both float and double arguments in printf? Are not they different types?
Explain setjmp()?
What is array within structure?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What are the types of bitwise operator?
What is unsigned int in c?
What is the use of ?
How do I copy files?
Explain how can type-insensitive macros be created?
What is the use of static variable in c?
Can we declare variable anywhere in c?
Why c is called free form language?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }