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 the difference between void main() and void main (void) give example programme?

0 Answers  


Why is extern used in c?

0 Answers  


a=5 a=a++/++a

14 Answers   Bhel,


Is it possible to execute code even after the program exits the main() function?

0 Answers  


Explain the advantages and disadvantages of macros.

0 Answers   TCS,


why wipro wase

0 Answers   Wipro,


which will be first in c compiling ,linking or compiling ,debugging.

3 Answers   Sonata,


swap two integer variables without using a third temporary variable?

6 Answers   Persistent,


What are the types of type qualifiers in c?

0 Answers  


Can a pointer be volatile in c?

0 Answers  


Explain how do you sort filenames in a directory?

0 Answers  


What is the exact difference between '\0' and ""

3 Answers  


Categories