float data type

float data type in c programming

It is a keyword.

1001.23, 232.97, 111.00001, 121.99 etc is example of float type value. 1001, 232, 111, 121, etc. is not example of float type value.But float type variable can hold this type value.

size of float is 4 byte according to 32-bit operating system. float type variable hold value between -2,147,483,648 to 2,147,483,647

%f is used in printf() function to print flaot type value.

See Output

%f is used in scanf() function to read float type value.

See Output

See Output

About Us

Comsysapp.com is an educational website. Students and software developers can learn programming language tutorials. Comsysapp is very useful for beginners and professional developers. Comsysapp provides tutorial in easy language. Comsysapp.com has focus on simplicity.

Services

Comsysapp.com provides free tutorials like c, html, css, etc. All tutorials are free for beginner and professionals.


Terms of Use

comsysapp.com is not responsible for any mistake. We are not responsible if information made available on our website is incomplete or invalid. But comsysapp.com always try for zero-zero mistake.

Privacy policy

comsysapp.com does not collect any data from users. We use Google AdSense advertising on our website. We never ask personal or private information.


Sitemap

sitemap

copyright © 2023