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
How many types of errors are there in c language? Explain
Write a program to print fibonacci series without using recursion?
How can I insert or delete a line (or record) in the middle of a file?
why return type of main is not necessary in linux
What do you understand by friend-functions? How are they used?
write a c program to find the sum of five entered numbers using an array named number
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Explain the meaning of keyword 'extern' in a function declaration.
Can 'this' pointer by used in the constructor?
How do you search data in a data file using random access method?
Are enumerations really portable?
Write a program to print numbers from 1 to 100 without using loop in c?
explain what is an endless loop?
What language is c written?
What is structure padding in c?