[01 Aug 2020] Add two numbers without using arithmetic operators
Write a function Add() that returns sum of two integers. The function should not use any of the arithmetic operators (+, ++, –, -, .. etc).
Following is the recursive implementation for the same approach.
Output :
47
Comments
Post a Comment