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
Jaheer   06-Jan-23

e

Support Team
Support Team   13-Jan-23

Dear Jaheer, That is service was discontinued by the vendor. But don't worry about it. It is one the project of C#. So, please practice your own wished project. That also makes you happy and gives the experiences. Hope this helps. Thanks.
REPLY

Student
Dineshkumar   07-Jan-22

Why we initiate 0 value in base class? ex: public compound interest():base(0,0,0){ }

Support Team
Support Team   08-Jan-22

Dear Dineshkumar, Please explore your doubt on the particular video's comment box. That only helps us to clear your doubts or simply send your doubts with proper details to support@collectiva.in. Thanks.
REPLY