1.

Which of the following is the correct output for the program given below?
#include <stdio.h>
int main ( )
{
float n = 5.375 ;
printf("%f %e %E n" , n, n, n) ;
return 0 ;
}

A. 5.375 5.375 5.375
B. 5.375000 5.375000 5.375000
C. 5.375000 5.375000e+000 5.375000E+000
D. 5.375000 5.375000E+000 5.375000e+000
Answer» D. 5.375000 5.375000E+000 5.375000e+000


Discussion

No Comment Found

Related MCQs