Going for an interview and worried? Do not panic. I have brought something useful for you. In most technical interviews candidates are asked to solve programming questions. You are given a short period of time for solving them. Most of the time they will not ask you to solve a lengthy questions having a large […]

Read More »

The call by reference method of passing arguments to a function copies the reference of an argument into the formal parameter. Inside the function, the reference is used to access the actual argument used in the call. This means that changes made to the parameter affect the passed argument.

Read More »

The call by pointer method of passing arguments to a function copies the address of an argument into the formal parameter. Inside the function, the address is used to access the actual argument used in the call. This means that changes made to the parameter affect the passed argument.

Read More »

Using call by value method, only the copies of actual arguments is passed to the called function. By default, C++ uses call by value to pass arguments . The call by value method  of passing arguments to a function copies the actual value of an argument into the formal parameter of the function.

Read More »

A function is a self defined block of statements that performs specific tasks for some time. A function is an assignment or a task that must be performed to complement the other part(s) of a program. Every C or C++ program has at least one function which is main(),  you can define your own functions as […]

Read More »

This is a conditional statement used in C to check condition or to control the flow of execution of statements. This is also called as ‘decision making statement or control statement.’ The execution of a whole program is done in one direction only. If statement is used to validate only one condition i.e only one […]

Read More »

Decision making is one of the most important concepts of computer programming. As the name suggests “Decision Making” , we means to state that we will be making certain decisions to carry out different operations. These decisions making strategies are same as we come across in our daily life. But here we will be using […]

Read More »

Storage class defined for a variable defines the accessibility and longevity of the variable. The accessibility of the variable relates to the portion of the program that has access to the variable. The longevity of the variable refers to the length of time or time span the variable exists within the program.In other words, A […]

Read More »