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
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
Where are local variables stored in c?
What is uint8 in c?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Why do we need a structure?
Differentiate between new and malloc(), delete and free() ?
Which of these functions is safer to use : fgets(), gets()? Why?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Who developed c language and when?
Why isnt there a numbered, multi-level break statement to break out
Give me the code of in-order recursive and non-recursive.
Can we assign integer value to char in c?
How pointers are declared?
What is volatile keyword in c?
What is the difference between typedef struct and struct?