What is the difference between a structure and a union?
Answer Posted / nashiinformaticssolutions
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
Is null equal to 0 in sql?
Can we declare variables anywhere in c?
How do you determine the length of a string value that was stored in a variable?
What are the advantages and disadvantages of a heap?
The file stdio.h, what does it contain?
Is that possible to store 32768 in an int data type variable?
Can we change the value of static variable in c?
What is the easiest sorting method to use?
Explain the use of #pragma exit?
Why doesnt the call scanf work?
Define macros.
Explain what is operator promotion?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What does calloc stand for?
Can you please explain the difference between exit() and _exit() function?