a^=b^=a^=b
On 3/9/06, hemu <[EMAIL PROTECTED]> wrote:
A different way ( or operators) but underlined logic is same as that of
XOR
A= ( A & ~ B ) | ( ~A & B)
B= ( A & ~ B ) | ( ~A & B)
A= ( A & ~ B ) | ( ~A & B)
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.gnu.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---
- [algogeeks] Re: swap hemu
- [algogeeks] Re: swap Michael Ageeb