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?

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


Please Help Members By Posting Answers For Below Questions

What is the purpose of main( ) in c language?

1142


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2262


How do you write a program which produces its own source code as output?

1122


How #define works?

1113


Can a variable be both constant and volatile?

1127


Explain how do you sort filenames in a directory?

1043


Why c language is called c?

1021


What is union and structure?

1127


What is #ifdef ? What is its application?

1112


Write a program to print fibonacci series without using recursion?

1145


What are the applications of c language?

1082


i want to know the procedure of qualcomm for getting a job through offcampus

2472


Explain what is a pragma?

1051


How can I use a preprocessorif expression to ?

1066


Is it better to use a macro or a function?

1165