
Like JS , C++ too has primitive data types. There are:
- Int: integers
- Float: A single-precision floating point value.Size 4 bytes.
- Double: A double-precision floating point value.Size 8 bytes
- Bool: Boolean true or false
- Char: single character for example the letter “a”
- Void: Represents the absence of a type