check variable type c++
int i = 10; float f = 10.5; char c = 'a';
- int: a data type used to define integer numbers.
- float: a data type used to define floating point numbers.
- char: a data type used to define single characters.
int i = 10; float f = 10.5; char c = 'a';