Question Bank (2 marks) · Q28
Q.What should be the statement for an output displayed as 5 . 8 6 2 8 e - 0 3 ? Write its value.
Karnataka PUCTextbookShort· 2mImportance★★★★★est
84% · 130/154 Questions
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →[!TLDR]
The output uses the exponential %e format; the value 5.8628e-03 equals 0.0058628.
An output written as 5.8628e-03 is in exponential (scientific) notation, which the %e conversion specifier of printf produces. To show four digits after the decimal point, the precision is written as %.4e:
printf("%.4e", x);
``` …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.