Write a program to multiply two numbers without using (*) multiplication operator.
Given two numbers, both numbers are positive. Write a program to multiply two numbers without using (*) multiplication operator. Think for a moment how to solve this problem .
You can use multiple approaches to find the solution of a problem.
Write a program to print Fibonacci Series using recursion. Fibonacci series is a very important program in terms of interviews. To make this program little tough interviewer ask to write a fibonacci series code using recursion.
You can check my previous post to use iterative approach to print Fibonacci series.
What is Recursion.
In recursion function call itself until the base condition is reached.
Read explanation of recursion and what’s the difference between iterative and recursive function.
Objective Question on Recursion.
How to swap two numbers using call by reference in C , C++. In the interviews interviewer generally asked the difference between call by reference and call by value. In this post let’s understand what is call by reference and how to swap two numbers using call by reference method.