Fundamental Types in C++:
The fundamental types are the basic building blocks from which more complex typea are constructed.
char: character
short: short integer
int: integer
long: long integer
float: single-precision floating-point number
double: double-precision floating-point number
There is also an enumeration, or enum, type to represent a set of discrete values. Together, enumberations
and the types bool, char, and int are called integral types.
Finally, there is a special type void, which explicitly indicates the absence of any type information.
The fundamental types are the basic building blocks from which more complex typea are constructed.
They include the following:
char: character
short: short integer
int: integer
long: long integer
float: single-precision floating-point number
double: double-precision floating-point number
There is also an enumeration, or enum, type to represent a set of discrete values. Together, enumberations
and the types bool, char, and int are called integral types.
Finally, there is a special type void, which explicitly indicates the absence of any type information.