+ 15

Are data types in cpp like int,double,float,etc ..are also the classes?

3rd May 2020, 6:55 AM
🧸A B H I S H E K🧸
🧸A B H I S H E K🧸 - avatar
4 Answers
+ 3
AFAIK they are referred to as primitives (intrinsic types). * Integral data types: `short`, `int`, `long`, `long long` (and their unsigned variants) also `char` type can be classified as integral data type, because `char` stores integer value internally. it's just that `char` representation on screen differ to other integral data types, because printing a `char` means to show the respective character instead of the underlying integer value (also known as ASCII code). * Floating point data types: `float`, `double`, `long double`
3rd May 2020, 7:23 AM
Ipang
+ 1
No also the methods
3rd May 2020, 8:27 AM
HEUBA BATOMEN Franck Duval
HEUBA BATOMEN Franck Duval - avatar
- 2
jjwjs
3rd May 2020, 10:08 AM
AmirAli