Multiply Two Numbers without using (*) Multiplication Operator

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.

C Programs on Arrays, Strings, Linked List, Stack, Queues.

Programming questions for practice

Subscribe Our Tutorials

Get Latest Updates on Facebook

Multiply two numbers without using (*) Multiplication Operator

1. First Method: Using Recursion

Objective Questions for Recursion.

2. Second Method – Iterative Approach

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.

WebRewrite

About WebRewrite

I am technology lover who loves to keep updated with latest technology. My interest field is Web Development.
Tagged , , . Bookmark the permalink.