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 return in c programming?
create an SINGLE LINKED LISTS and reverse the data in the lists completely
How can I automatically locate a programs configuration files in the same directory as the executable?
hat is a pointer?
What is c value paradox explain?
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
Differentiate between the = symbol and == symbol?
Sir,please help me out with the output of this programme:- #include<stdio.h> #include<conio.h> void main() { int a=18,b=12,i; for(i=a<b?a:b;a%i||b%i;i--); printf("%d %d",i); }
write a program to display the array elements in reverse order in c language
how to calculate the time complexity of a given algorithm? pls give exaples..mainly for the coplexities such as O(log n),O(n log n)...
Do variables need to be initialized?
if function is declared as static in one source file, if I would like to use the same function in some other source file...is it possible....how ?