Why do we use union inside structures in C?

In C11 standard of C, anonymous Unions and structures were added. Anonymous unions/structures are also known as unnamed unions/structures as they don’t have names. Since there is no names, direct objects(or variables) of them are not created and we use them in nested structure or unions.6 Eki 2021

Sizin İçin Seçtik  What is union and structure in C++?

Leave a Reply

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