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
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
What is double pointer?
Write a Program to find whether the given number or string is palindrome.
What is ctrl c called?
How variables are declared in c?
Explain what are its uses in c programming?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
Differentiate between null and void pointers.
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What is new line escape sequence?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
can we implement multi-threads in c.
what is recursion in C