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

Why do we need arrays in c?

1140


Explain 'bit masking'?

1067


a c code by using memory allocation for add ,multiply of sprase matrixes

2779


Why is c called a structured programming language?

1264


Is swift based on c?

1087


How do you list files in a directory?

1126


How can I access an I o board directly?

1080


write a program to rearrange the array such way that all even elements should come first and next come odd

2264


What is build process in c?

1133


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

1147


Do you know the difference between malloc() and calloc() function?

1042


What is a const pointer in c?

1119


When should the volatile modifier be used?

1156


What is a protocol in c?

982


how logic is used

1953