Answer Posted / sunil singh
both %e and %f are use for Floating point format specifier.
%e- it shows the value in the Exponential(scientific way).
%f - it shows this value to normal way.
Example:
float f = 1.34f;
printf("%e - %f",f,f);
outPut:
1.34e+00- 1.34
| Is This Answer Correct ? | 23 Yes | 3 No |
Post New Answer View All Answers
Why do we need arrays in c?
Explain 'bit masking'?
a c code by using memory allocation for add ,multiply of sprase matrixes
Why is c called a structured programming language?
Is swift based on c?
How do you list files in a directory?
How can I access an I o board directly?
write a program to rearrange the array such way that all even elements should come first and next come odd
What is build process in c?
How can I automatically locate a programs configuration files in the same directory as the executable?
Do you know the difference between malloc() and calloc() function?
What is a const pointer in c?
When should the volatile modifier be used?
What is a protocol in c?
how logic is used