Join Regular Classroom : Visit ClassroomTech

how to define an union in c?

Unions in C

A union is a user defined datatype that also like structure allows to store different datatypes but in union it stores in similar location. In union one member can contain only one value at a time. So, the size of union will be lesser than the size of structure. So, union is more efficient where

Unions in C Read More »