Register
 

Free CSC Scholarship support for 2018-19

Engineering, Computer, Scholarship and SEO Support Forum



Author Topic: The follwoing statement printf("&f", (float)9/5); prints [Programming with C)  (Read 898 times)

Online mechanic

  • Engineer
  • Hero Engineer
  • *****
  • Posts: 3076
    • View Profile
    • Engineering Forum
Advertisement
Question: The follwoing statement

printf ("&f", (float)9/5);


prints

Options are:


A. 1.8
B. 1.0
C. 2.0
D. None of the above

Correct answer is:

A. 1.8


Engineering, Computer, Scholarship and SEO Support Forum