What is union in C advantages and disadvantages?

The basic advantage is that union will use the memory space of the datatype which has the highest memory …. hence memory consumption will be less…But when u use structure the total memory will be the sum of the memory of all datatypes.. ie. (higher memory allocation)Disadvantage is that…..

Sizin İçin Seçtik  Can a structure be nested in a union?

Leave a Reply

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

What is union in C advantages and disadvantages?

The basic advantage is that union will use the memory space of the datatype which has the highest memory …. hence memory consumption will be less…But when u use structure the total memory will be the sum of the memory of all datatypes.. ie. (higher memory allocation)Disadvantage is that…..

Sizin İçin Seçtik  Oph fon nasıl alınır?

Leave a Reply

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