following using exor
http://www.geeksforgeeks.org/archives/18324

following is tricky
http://www.geeksforgeeks.org/archives/22080

On Wed, Nov 7, 2012 at 11:36 AM, Rahul Kumar Patle <
[email protected]> wrote:

> you can use bit wise addition.. using xor , and , or and shift op
> erations...
> retrieve bits from both numbers one by one
> do xor store result as a bit in resultant number and consider carry for
> next bit..
>
>
> On Tue, Nov 6, 2012 at 10:43 AM, DHARMENDRA KUMAR VERMA <
> [email protected]> wrote:
>
>> how many ways are there to add or subtract two numbers with out addition
>> or subtraction operator???
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> Thanks and Regards:
> Rahul Kumar Patle
> M.Tech, School of Information Technology
> Indian Institute of Technology, Kharagpur-721302, 
> India<http://www.iitkgp.ac.in/>
> Mobile No: +91-8798049298, +91-9424738542
> Alternate Email: [email protected]
> [image: 
> Linkedin]<http://www.linkedin.com/profile/view?id=106245716&trk=tab_pro>
> [image: Twitter] <https://twitter.com/rahulkumarpatle>
> <https://www.facebook.com/rkpatle>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to