Multiplication of two no using Recursion

How multiplication of 2 number can be done without using (*) operator??

Hey @ashwani225

This is how you multiply 2 numbers using recursion:

  1. If x is less than y, swap the two variables value
  2. Recursively find y times the sum of x
  3. If any of them become zero, return 0

https://ide.codingblocks.com/s/227370 is this correct ?

hey, yes it is correct !

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.