+ 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 :-)

25th May 2018, 8:39 AM
Abhay
Abhay - avatar
1 Resposta
+ 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*/
25th May 2018, 12:20 PM
Shahil Ahmed
Shahil Ahmed - avatar