Home > DeveloperSection > Forums > what is anonymous union in C ?
Royce Roy
Royce Roy

Total Post:149

Posted on    June-17-2013 5:16 AM

 Visual C++ Visual C++ 

 1 Reply(s)
 1209  View(s)
Rate this:
what is anonymous union in C++?

Dev Patel

Total Post:26

Posted on    June-17-2013 5:33 AM

An anonymous union does not have a type name, and no variables can be declared for this short of union. Instead, an anonymous union tells the compiler that its member will share the same memory location.

Modified On Jun-17-2013 05:35:33 AM

Don't want to miss updates? Please click the below button!

Follow MindStick