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  How do you use Flutter?

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  Can structure be a member of a union?

Leave a Reply

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