Derived Data Types
What you’ll learn:
o What are derived data types
What are Derived Data types ?
These are composed of more than one type of data.
We have already covered array and strings.
More derived data types:
Structure can contain more than one type of data.
Struct tag_name variable_list; (Note: Variable list is of type struct)
Special data type that enables us to store different types of data in the same memory
location, i.e. memory is shared between these variables.
Only one member occupies memory at a given time.
Efficient way of using same memory location.
Prevents memory fragmentation.
Consists of a set of named integer constants.