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


Please Help Members By Posting Answers For Below Questions

Can we use visual studio for c?

552


What is function pointer c?

586


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

3732


How do you construct an increment statement or decrement statement in C?

744


What is build process in c?

645






provide an example of the Group by clause, when would you use this clause

1709


What is the concatenation operator?

614


What is memory leak in c?

637


What are the 5 types of inheritance in c ++?

586


Explain main function in c?

629


Explain indirection?

648


Explain Function Pointer?

681


Where local variables are stored in c?

556


What is sizeof return in c?

617


given post order,in order construct the corresponding binary tree

2323