i want to add two numbers without using addition operator.i have tried my hand in solving the problem by using bitwise operators.but the solution worked for few numbers and when i tried the same code for different input i failed to achieve the result.could u help me in this regard??
Frankly, this sounds like a ton of fun to implement ... make HalfAdder and FullAdder objects, chain them together. Extremely geeky.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi