Vidyalelo
C Programming · Q129

File Input Output

Programming · C Programming · question 129

Q129

What is the difference between %e and %g?

A.
%e output formatting depends on the argument and %g always formats in the format [-]m.dddddd or [-]m.dddddE[+|-]xx where no.of ds are optional
B.
%e always formats in the format [-]m.dddddd or [-]m.dddddE[+|-]xx where no.of ds are optional and output formatting depends on the argument
Answer
C.
No differences
D.
Depends on the standard

Answer: Option B

Solution

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