On 5/8/07, lucky sanket <[EMAIL PROTECTED]> wrote: > hi frnds, > > can you swap two variables without using pointer, temporary variable & this > logic b=a-b,a=a-b,b=a+b in c or c++???
Not reliably, no. 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]"
