What is untagged union?

C/C++ In C and C++, untagged unions are expressed nearly exactly like structures (structs), except that each data member begins at the same location in memory . The data members, as in structures, need not be primitive values, and in fact may be structures or even other unions.

Sizin İçin Seçtik  What is the use of unions in C?

Leave a Reply

Your email address will not be published. Required fields are marked *