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

main()
{
float a=3.2e40;
printf("%d",a);
}

Answer Posted / pankaj bhalerao

i run this and i found that the answer is zero because a
is declared as float and it is print ans integer and its
mantissa part is also a float therefore the output is zero.

thank you...

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me

1916


The difference between printf and fprintf is ?

1294


Tell us the use of fflush() function in c language?

1147


Explain the bubble sort algorithm.

1077


Differentiate between the = symbol and == symbol?

1302


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1090


What is ctrl c called?

1052


Why do we write return 0 in c?

1068


Write a C program to count the number of email on text

1921


What is difference between constant pointer and constant variable?

1321


Explain Function Pointer?

1183


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

3325


Can i use “int” data type to store the value 32768? Why?

1192


What is the easiest sorting method to use?

1177


What is the use of a static variable in c?

1062