What is structure and union in programming?

A structure contains an ordered group of data objects. … Each data object in a structure is a member or field. A union is an object similar to a structure except that all of its members start at the same location in memory . A union variable can represent the value of only one of its members at a time.

Sizin İçin Seçtik  11 Haziran dolar ne kadar?

Leave a Reply

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