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 |
How can I read a directory in a c program?
What is the advantage of c?
What is maximum size of array in c?
What are the data types present in c?
differentiate between const char *a; char *const a; and char const *a;
2 Answers College School Exams Tests, HCL, TCS,
There seem to be a few missing operators ..
what is an ERP?
What will be the outcome of the following conditional statement if the value of variable s is 10?
what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }
What are the 32 keywords in c?
how to create c progarm without void main()?
I have a varargs function which accepts a float parameter?