+ 3

What is float ? I can't understand it 😪😕

A beginner in c language

26th Dec 2021, 7:11 AM
Srushti Kedar
3 Respostas
+ 12
float is a keyword in c that is used to represent decimal point numbers. 5 is an integer but 5.3 is a floating point number. If you want to store a floating point number in a variable, the variable should be declared as float.
26th Dec 2021, 7:30 AM
Kashyap Kumar
Kashyap Kumar - avatar
0
Thanks it is very easy to understand me now
26th Dec 2021, 10:38 AM
Srushti Kedar
0
float is a data type in used to store value in decimal form . Like 2.445,7.3444 etc
28th Dec 2021, 6:20 AM
Mirza Aslam Beg
Mirza Aslam Beg - avatar