Good Programming starts from understanding the existing programs. This is the key reasons, many leading IT companies conduct a "Find the Output" related questions, to easily understand the knowledge level of the candidates.
This chapter is having about 20 such Find the Output questions, most of them are picked from interview questions, and covers all the important concepts like Strings, if, for, while etc.
A sample program is given below:
What is the output of the following program?
int main()
{
int a, b, c; a = 10; b = 20; c = a*a + b*b; c = c * a * b - a - b;