+ 3
Can someone update me with a brief info of all data types like int,float,string,char,double and long double :-)
in terms of byte and value !! or refer a good source :-)
1 Réponse
+ 2
Int:(size 4)
Solid numbers like 1,7,18
unsinged int vars only hold positive
float: (size 4)
Can hold point numbers like 4.33 8.12
string:(size 12)
A set of characters like "Hello","C++",
Must be inside " "
char:(size 1)
Holds single characters like 't'
Must be inside ' '
double:(size 8)
Similar to float
/*I am not sure about long*/