Structure and Union

In C programming, a structure is a composite data type that allows you to group together
variables of different data types under a single name. Structure is a collection of one or more
variables, possibly of different data types (eg. Int, float, char) grouped together under a
single name for convenient handling. This grouping makes it easier to organize and work
with related pieces of data.

The union is a user-defined data types such every union member takes memory that contains
a variety of objects. Such that the union members share space thereby resulting, conserves

Loader Loading…
EAD Logo Taking too long?

Reload Reload document
| Open Open in new tab

Leave a Reply