Examveda
Examveda

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

A. 2.890000

B. 2.89

C. 2

D. 3

Answer: Option D


This Question Belongs to C Program >> Operators And Expressions

Join The Discussion

Related Questions on Operators and Expressions