Call by reference in cpp is one approach to implement function ( to call function) In this tutorial we will see what is function, call by reference and program for call by reference. What is function : function is block of code. Call by reference: When function are called by passing the address they are […]

## Swap two numbers in cpp

Swap two numbers in cpp is simple program to swapping of two numbers in c++ using functions. In this tutorial we will see What is swapping, how to swap two numbers and C++ program to swap two numbers using function. What is swapping: Swapping of two numbers means replacing the numbers. Their are two ways to […]

## Swapping of two numbers in c++

Swapping of two numbers in c++ is c++ program to swap two numbers in c++ without using third variable In this tutorial, we are going to learn new program which is a simple program and most commonly used in exams or in interviews that is Swap two numbers without using third variable. What is swapping: Swapping […]

## Reverse number in cpp

Reverse number in cpp is another easy and simple program which mostly asked in exams. In this tutorial, we are going to learn how to reverse a number programmatically Reverse Number Logic We separate digits in number by modulus operation which gives us a digit in a number. Rem = number % 10 After separating number […]

## Fibonacci Series in cpp

Fibonacci Series in cpp simple program which is implemented using different method in cpp. In this tutorial we are going to leans what is Fibonacci series , Fibonacci series algorithm, Fibonacci series in cpp. what is Fibonacci : Fibonacci is a series of numbers starting from 0 and adding with two numbers before it. Fibonacci series logic Logic […]