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

What is the use of bit field?

1121


Write a program to print ASCII code for a given digit.

1040


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1086


What is %d called in c?

1185


What are multibyte characters?

1063


What is struct node in c?

1024


How do you define a function?

972


What is c method?

944


How can you avoid including a header more than once?

930


What is oops c?

1118


Explain b+ tree?

1010


Explain data types & how many data types supported by c?

1027


Explain the advantages and disadvantages of macros.

1037


What does return 1 means in c?

1008


FILE PROGRAMMING

2181