C Quick Refresher

Introduction
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;

printf("%d", c);
}


Student
RAMESH   16-Feb-24

Student
R Purushothaman   02-Jun-23

Thank you for your guideline sir .

Support Team
Support Team   03-Jun-23

Dear Purushothaman, Thanks for your feedback. Keep up the good work.
REPLY

Student
  01-Dec-24

e

Student
Anson   24-Nov-22

ethuku intha program la private ku pathila protected nu use panringa private nu pota program error katuthu and base class private member ah derived class use panna mudiyathu

Support Team
Support Team   28-Nov-22

Dear Anson, Please go further videos, you will know the reason for that. Thanks.
REPLY