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
What is the purpose of main( ) in c language?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
How do you write a program which produces its own source code as output?
How #define works?
Can a variable be both constant and volatile?
Explain how do you sort filenames in a directory?
Why c language is called c?
What is union and structure?
What is #ifdef ? What is its application?
Write a program to print fibonacci series without using recursion?
What are the applications of c language?
i want to know the procedure of qualcomm for getting a job through offcampus
Explain what is a pragma?
How can I use a preprocessorif expression to ?
Is it better to use a macro or a function?