Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What ios diff. Between %e & %f?

Answers were Sorted based on User's Feedback



What ios diff. Between %e & %f?..

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

What ios diff. Between %e & %f?..

Answer / bsn.teja

sunil and ambar both are right i think

Is This Answer Correct ?    2 Yes 1 No

What ios diff. Between %e & %f?..

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

Post New Answer

More C Interview Questions

What is return in c programming?

0 Answers  


create an SINGLE LINKED LISTS and reverse the data in the lists completely

3 Answers  


How can I automatically locate a programs configuration files in the same directory as the executable?

0 Answers  


hat is a pointer?

4 Answers   Assurgent,


What is c value paradox explain?

0 Answers  


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 ?

2 Answers   Patni, TCS,


Differentiate between the = symbol and == symbol?

0 Answers  


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); }

4 Answers  


write a program to display the array elements in reverse order in c language

16 Answers  


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)...

1 Answers   Infosys,


Do variables need to be initialized?

0 Answers  


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 ?

2 Answers   NetApp,


Categories