Is union and structure same?

A structure is a user-defined data type available in C that allows to combining data items of different kinds. Structures are used to represent a record. A union is a special data type available in C that allows storing different data types in the same memory location .12 Eyl 2021

Sizin İçin Seçtik  What is tagged union in systemverilog?

Leave a Reply

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