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
Is it possible to initialize a variable at the time it was declared?
In a byte, what is the maximum decimal number that you can accommodate?
Why we use conio h in c?
What is the -> in c?
What does return 1 means in c?
What is pointer & why it is used?
Explain what will the preprocessor do for a program?
How do you sort filenames in a directory?
What are linker error?
Explain how can I prevent another program from modifying part of a file that I am modifying?
What is c language & why it is used?
Can i use “int” data type to store the value 32768? Why?
What are the two types of structure?
Write a program to know whether the input number is an armstrong number.
Explain how are 16- and 32-bit numbers stored?