• Every variable needs to have a type associated with it.
  • Types allow the compiler to -
    1. Know how much memory a variable needs.
    2. Types of values that can be stored in the variable.
    3. Operations that can be performed on a variable.

C++ has two broad classes of typing -

  1. Fundamental Types - these are built into the compiler.
  2. Derived Types - also called compound types.

C++ Types Drawing.excalidraw