Home » C Programming » Input & Output » Question
  1. What is the difference between %e and %g?
    1. %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
    2. No differences
    3. Depends on the standard
    4. %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
    5. None of these
Correct Option: A

%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



Your comments will be displayed only after manual approval.