Floating Point Issues on C related Questions and Answers


Question :   What will you do to treat the constant 3.14 as a float?
1. use float(3.14f)
2. use 3.14f
3. use f(3.14)
4. use (f)(3.14)
Answer :   2 - use 3.14f  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter