Knowledge in C++ programming

Program to explain call by reference

Call by reference means that object or data variable is called by introducing a reference variable . We consider any variable to make the reference of existing variables. Here in call by reference swapping of numbers takes place.

Program to explain dynamic initialization of a variable

Dynamic initialization of a variable means introducing variable at run time. Just before executing the program we initialize that respective variable . Here in this program 'a' is initialized just before the end of the program.

Program to explain sorting of the elements of an array.

Firstly array means collection of elements of same data type stored in a continuous memory allocation. Sorting of the elements of an array means arranging the array elements in ascending or descending order.

Program to explain 1-D array implementing new and delete operator.

Here we are introducing two special operators in 1-dimensional array. They are new and delete. Here new is used to allocate space for an object. Delete is used for freeing the space which was previously allocated by new operator.

Program to explain 1-D array implementing new and delete operator.

Here we are introducing two special operators in 1-dimensional array. They are new and delete. Here new is used to allocate space for an object. Delete is used for freeing the space which was previously allocated by new operator.

Program to explain factorial of a given number using recursion.

Let us know the meaning of recursion first. Recursion means the third digit is equal to the sum of first two digits. That is called recursion. It may be addition , multiplication. Factorial means product of all the numbers upto the given number.

Program to print 1-10 numbers using for .

This is a simple basic program of c++ using for loop. In for loop we have 3 terms to explain . Initialization, incrementation or decrementation , checking inequalities. So using for loop considering every digit each time we check the conditions inside the loop and if it is true we print that digit.

Program to explain multiple catches.

In this program many catches are executed in a single try block. In Eve catch block throw occurs. Control selects the matching catch block . That matched catch block is executed. Then the control goes to the successive catch block to check it's matching.

Program to create sort in an array using template.

Sorting means arranging the elements in ascending or in descending order. Arranging the elements in array using template provides easy execution. Templates are the powerful concept in c++. Using this templates provides high consistency for data in documents of business.

Sum, subtract, multiply, divide program using c++ Programming language.

In this file contains Program to calculate add, subtract multiply divide using c++ Programming language.

String in c

This is about the knowledge of string function.

Inheritance

Knowledge about c++