Skip to content

Fundamental Types ​

C++ fundamental types represent numbers, characters, and logical states. A type determines the operations available for a value and how that value is stored.

cpp
int age{18};
double temperature{36.5};
char grade{'A'};
bool ready{true};

Subtopics ​