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

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)

2294


Where are local variables stored in c?

1042


What is uint8 in c?

1102


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

4270


Why do we need a structure?

1037


Differentiate between new and malloc(), delete and free() ?

1183


Which of these functions is safer to use : fgets(), gets()? Why?

1096


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

1122


Who developed c language and when?

1065


Why isnt there a numbered, multi-level break statement to break out

1045


Give me the code of in-order recursive and non-recursive.

1374


Can we assign integer value to char in c?

1251


How pointers are declared?

955


What is volatile keyword in c?

1037


What is the difference between typedef struct and struct?

1110