A primitive type is a data type where the values that it can represent have a very simple nature (a number, a character or a truth-value); the primitive types are the most basic building blocks for any programming language and are the base for more complex data types.
C++ has the following primitive data types −
|Stores either value true or false.|
|Typically a single octet (one byte). This is an integer type.|
|The most natural size of an integer for the machine.|
|A single-precision floating point value.|
|A double-precision floating point value.|
|Represents the absence of type.|