Composite Datatypes

Composite Datatypes: These are more complex datatypes that are made up of primitive datatypes and other composite types. They include:

  • Arrays: Collections of elements, all of the same type.

  • Structures (Structs): Collections of elements of different types.

  • Classes: The basis of objects in object-oriented programming, encapsulating data and operations.

Last updated

Was this helpful?