main()
{int a=200*200/100;
printf("%d",a);
}
Answer Posted / jaga
a=200*200
=40000/100
=400
a=400
| Is This Answer Correct ? | 7 Yes | 16 No |
Post New Answer View All Answers
What are header files in c?
Can you think of a logic behind the game minesweeper.
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
What is difference between structure and union in c?
What is the right way to use errno?
Tell me the use of bit field in c language?
How do I convert a string to all upper or lower case?
What does double pointer mean in c?
What is indirection in c?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
What is hashing in c?
What is a substring in c?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
ATM machine and railway reservation class/object diagram
Which control loop is recommended if you have to execute set of statements for fixed number of times?