Multiply Two Numbers without using * (Multiplication Operator)

Write a C 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.

C Program to Multiply Two Numbers without using *

Subscribe Our Tutorials

Programming questions for practice

C Program to Multiply two numbers without using * Multiplication Operator

1. First Method: Using Recursion to multiply two numbers without using *

2. Second Method – Iterative Approach to multiply two numbers without using *

We have solved this problem using recursion. Let’s solve this problem using an iterative method.

If you don’t know the difference between recursive and iterative approach then check my previous tutorial on Difference between recursion and iteration.

b) We can solve this problem using for loop as well.