URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       techsuns
  HTML https://techsuns.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: Programming Questions
       *****************************************************
       #Post#: 428--------------------------------------------------
       Simple Swap funtion............ Give a try..........
       By: kpr29 Date: January 28, 2013, 9:30 pm
       ---------------------------------------------------------
       @Techsuns: Hi guys...........
       Can anyone give me a inplace swap funtion pseudo code..........
       inplace in the sense not using the extra variable......
       kp
       #Post#: 430--------------------------------------------------
       Re: Simple Swap funtion............ Give a try..........
       By: dinesh Date: January 29, 2013, 9:41 am
       ---------------------------------------------------------
       swap integers :
       a = a + b;
       b = a - b;
       a = a - b;
       #Post#: 433--------------------------------------------------
       Re: Simple Swap funtion............ Give a try..........
       By: kpr29 Date: January 29, 2013, 9:18 pm
       ---------------------------------------------------------
       @DInesh: Very nice. ;D............. Next level can u do it only
       with bit wise operations. ???...........
       kp
       #Post#: 460--------------------------------------------------
       Re: Simple Swap funtion............ Give a try..........
       By: Neela Date: March 11, 2013, 11:31 pm
       ---------------------------------------------------------
       Simple Swap function using bit wise operation
       a=a xor b
       b=a xor b
       a=a xor b
       #Post#: 464--------------------------------------------------
       Re: Simple Swap funtion............ Give a try..........
       By: kpr29 Date: March 12, 2013, 1:46 am
       ---------------------------------------------------------
       @Neela: Nice one neela........ Happy atlast someone replied to
       my post.........
       kp
       *****************************************************