write a note on basic data types in c++
Answers
Answered by
23
Answer:
Data Types in C++
char: For characters. Size 1 byte. char ch = 'A';
float: For single precision floating point. Size 4 bytes. float num = 123.78987;
double: For double precision floating point. Size 8 bytes. double num = 10098.98899;
bool: For booleans, true or false. bool b = true;
Similar questions