C – Derived and User Defined Datatype 2017-08-05T14:20:31+00:00

Derived data types :

Derived data types are created from the basic integers, characters and floating data types.

Example :

Arrays, Pointers, Structures etc.

User defined data types :

The user defined data types enable a program to invent his own data types and define what values it can taken on. Thus these data types can help a programmer to reducing programming errors.

C supports 2 types of user defined data types.

  • typedef (type definition)
  • enum (enumerated data type)

Prev Next