Home > mcq questions related to c programming

Study the following statement:

printf(“%f”,(float)9/5);

What will it print ?

A)  1.0
B)  1.8
C)  2.0
D)  None of these
Answer: 1.8

    Leave a Comment

    Your email address will not be published. Required fields are marked *