[prev] [index] [next]

Aggregate Data Types

Families of aggregate data types:
  • homogenous ... all elements have same type base type
    • arrays (e.g. char s[50], int v[100])
  • heterogeneous ... elements may have different data types
    • structs and unions
  • linked ... dynamically created network of structured values
    • structs containing pointers to other structs
Only heterogeneous types have an assignment operator.