main()
{int a=200*200/100;
printf("%d",a);
}
Answer Posted / vishi
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 ? | 24 Yes | 2 No |
Post New Answer View All Answers
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
Explain high-order and low-order bytes.
Explain the priority queues?
using only #include
How can you find the exact size of a data type in c?
Why do we use int main?
simple program of graphics and their output display
How can I call a function with an argument list built up at run time?
What is volatile variable in c with example?
Explain what is a static function?
Why is python slower than c?
i have a written test for microland please give me test pattern
What functions are used in dynamic memory allocation in c?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Can you tell me how to check whether a linked list is circular?