0
Hello World! Can you explain me the data types of C ?
I learned about data types of C . But didn't understand. Please explain me that
2 Answers
0
int : a number without decimal .
Ex: 42
double: a number with decimal.
Ex:42.42
float: similar to double with less byte storage:
Ex:42.42
bool: To store true or false
Ex:true
char: To store a character
Ex:d
string: To store a string
Ex:Hello(There is no direct string variable)