What is the difference between struct and union in C?
A struct is a block of memory that stores several data objects, where those objects don't overlap. A union is a block of memory that stores several data objects, but has only storage for the largest of these, and thus can only store one of the data objects at any one time.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
how to find the binary of a number?
Why do we use null pointer?
Is swift based on c?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
What is oops c?
How can I do graphics in c?
what is difference between null and nul in c language
Why clrscr is used after variable declaration?
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }
11 Answers HCL, Vector, Vector India, Vector Solutions, Wipro,
#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }
Subtract Two Number Without Using Subtraction Operator