suppose if we want to swap 3 and 5
*a=3
*b=5
then,
1st xoring *a and *b and copying back to *a *a=011
*b=101
*a=110
2nd--> *b^=^a ---> *b=101
we can just apply xor operation rightit's more easier!!
--
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
algogeeks+unsubscr...@
can any one please explain me the question clearly with an examplei'm
not geting it!
thanx in advance!
--
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 t