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()
{int a=200*200/100;
printf("%d",a);
}

Answer Posted / tanvi jain

200*200=40000;
as the range of int(-32768 to +32767)
40000 exeeds +32767 &hence goes to the other side,
40000-32767=7233;
now (-32768+7233)=(-25535);
hence the value of 40000 will be -25535;
result be (-25535/100)="-255"(integer value).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program in c to replace any vowel in a string with z?

1140


How can I call a function with an argument list built up at run time?

1253


What is c variable?

1052


What is maximum size of array in c?

1056


Explain how are 16- and 32-bit numbers stored?

1278


What does == mean in texting?

1325


What are the advantages of external class?

1081


Which built-in library function can be used to match a patter from the string?

1315


How do you sort filenames in a directory?

1194


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

3102


Why is c platform dependent?

1102


Difference between exit() and _exit() function?

1150


How is a macro different from a function?

1199


Explain argument and its types.

1074


Explain the difference between strcpy() and memcpy() function?

1030