What ios diff. Between %e & %f?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ambar
%e receives,stoers,outputs exponential values(eg:1.23e)
%f receives,stoers,outputs floating point or decimal values
(eg:2.34f)
| Is This Answer Correct ? | 1 Yes | 1 No |
What is the difference between void main() and void main (void) give example programme?
Why is extern used in c?
a=5 a=a++/++a
Is it possible to execute code even after the program exits the main() function?
Explain the advantages and disadvantages of macros.
why wipro wase
which will be first in c compiling ,linking or compiling ,debugging.
swap two integer variables without using a third temporary variable?
What are the types of type qualifiers in c?
Can a pointer be volatile in c?
Explain how do you sort filenames in a directory?
What is the exact difference between '\0' and ""