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
(c) No differences
(d) Depends on the standard
This question was posed to me in homework.
My question is taken from Formatted Output topic in section Input and Output in C of C