Data Types
A data type describes a set of values in which a variable can store with a set of operations which can be performed on that variable. C++ has five basic built in data types: -
Character (char) Integer (int)
Floating point (float)
Double floating point (double) Valueless (void)
Void has three uses: -.
To define explicitly a function as returning no value.
To describe explicitly a function as having no parameters.
To make generic pointers.
C++ also supports various aggregate categories including structures, unions, enumeration and user defined types.