What is an anonymous union and where to apply that ?
Answer Posted / swetcha
An anonymous union is a union without a name. It cannot be
followed by a declarator. An anonymous union is not a type;
it defines an unnamed object.
The member names of an anonymous union must be distinct
from other names within the scope in which the union is
declared. You can use member names directly in the union
scope without any additional member access syntax.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between structs and unions in c?
writ a program to compare using strcmp VIVA and viva with its output.
What is the difference between union and structure in c?
What is a double c?
What is c definition?
What are data types in c language?
How many identifiers are there in c?
Mention four important string handling functions in c languages .
What is void pointers in c?
What are near, far and huge pointers?
What is the use of header files?
Explain the difference between exit() and _exit() function?
Differentiate between declaring a variable and defining a variable?
Is printf a keyword?
How does normalization of huge pointer works?