- 2
I'm new in c++
Please i need more explanation on how to declare a variable in c++
1 Answer
+ 2
bool
either value true or false.
2
char
Typically a single octet (one byte)
3
int
the natural size of integer for the machine.
4
float
A single-precision floating-point value.
5
double
A double-precision floating-point value.
6
void
Represents the absence of type.
DATa TYPE DECLEARATION:
int i, j, k;
char c, ch;
float f, salary;
double d;