Skip to main content
C++

Primitive Data Types in C++

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

Leave a Reply