HOW TO CREATE ANONYMOUS UNION IN C ?

Samuel Fernandes

Total Post:159

Points:1117
Posted by  Samuel Fernandes
 1160  View(s)
Ratings:
Rate this:
How to create anonymous union in C++?
  1. Dev Patel

    Post:26

    Points:182
    Re: How to create anonymous union in C ?

    You can create anonymous union in C++ as following


    union{
    int i;
    char[4];
    };

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!