user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

69. Without utilizing the plus operator, create a program to add two integers that are greater than 0.

user image

Abhishek Mishra

2 years ago

To accomplish this, we can employ bitwise operators.def add_nums(num1, num2): while num2 != 0: data = num1 & num2 num1 = num1 ^ num2 num2 = data

Recent Doubts

Close [x]