Answer Posted / raj kumar
struct can hold multiple data types.
Like u can define a date structure....
but union can multiple data types which includes struct also
union x
{
int x;
struct
{
...
...
}
}
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What is void c?
Can I initialize unions?
What’s a signal? Explain what do I use signals for?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
How is a macro different from a function?
What does a pointer variable always consist of?
What is the difference between exit() and _exit() function in c?
i got 75% in all semester am i eligible for your company
What is pointer in c?
Explain what does a function declared as pascal do differently?
What is main return c?
When is a null pointer used?
Why should I use standard library functions instead of writing my own?
What is the scope of global variable in c?
What is the use of ?