Vidyalelo
C Programming · Q79

Operators and Expressions

Programming · C Programming · question 79

Q79

What will be the output of the following C code? #include printf("%.0f", 2.89);

A.
2.890000
B.
2.89
C.
2
D.
3
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board