Answer Posted / banavathvishnu
union
{
int a;
char ch;
float f;
}tt = {10};
main()
{
printf("%c",tt.ch);
}
In union it is enough to initialise one variable, same
value will reflect the value in remaning members also.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
Can include files be nested? How many levels deep can include files be nested?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
How many types of operator or there in c?
What is the function of volatile in c language?
How can I get back to the interactive keyboard if stdin is redirected?
List a few unconditional control statement in c.
writ a program to compare using strcmp VIVA and viva with its output.
Do you know what are the properties of union in c?
What is self-referential structure in c programming?
Where are some collections of useful code fragments and examples?
Which header file is essential for using strcmp function?
What is formal argument?
What is cohesion in c?
When should the const modifier be used?