What is the difference between a structure and a union?
Answers were Sorted based on User's Feedback
Answer / 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 |
Structure: All members have their own memory location.
Union: All members share the same memory location.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why doesn't the code "int a = 1000, b = 1000; long int c = a * b;" work?
Taking an example,differentiate b/w loader and linker ?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
How to create struct variables?
Who invented bcpl language?
Subtract Two Number Without Using Subtraction Operator
What is NULL pointer?
Why clrscr is used after variable declaration?
Write a program to interchange two variables without using the third variable?
17 Answers Accenture, College School Exams Tests, Infotech,
What is the difference between char a[] = "string"; and char *p = "string"; ?
14 Answers Adobe, Honeywell, TCS,
WHAT IS C?
How many main () function we can have in a project?