C Programming MCQ

1:

To print out a and b given below, which printf() statement would you use?

float a = 3.14;
double b = 3.14;

A.

printf("%f%f",a,b);

B.

printf("%Lf%f",a,b);

C.

printf("%Lf%Lf",a,b);

D.

printf("%f%Lf",a,b);

 

Answer : A

Explanation :

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.