On 5/13/07, Blue Crystal <[EMAIL PROTECTED]> wrote: > Hello Dude, here is some more method of swapping of two numbers. > Works number that is not Zero. > ie, A!=B!=0; > [snip mult/divide method] > > 2nd method works for all values. [snip add/subtract/multiple writes between sequence points method] > > I guess this method works for negative numbers. [snip xor method] > > if i'm wrong plz do correct me.... Thank you.
You're wrong. See http://tech.groups.yahoo.com/group/c-prog/files/html/swapnotemp.html -- PJH #757724 +(1337)- [X] <CtrlAltDestroy> Here is my impression of Wikipedia. <CtrlAltDestroy> "There are five fingers on the human hand [citation needed]"
