How to add same number without using the plus operator like input 5 then output 10 if input 8 then the output will be = 16


One way is to shift the number left by 1 bit.

Another way is to multiply the number by 2

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.