1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

swapping 2 numbers in a single statement

Discussion in 'C' started by deepneel25, Nov 21, 2007.

  1. deepneel25

    deepneel25 New Member

    Joined:
    Aug 22, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    I need to know how can i swap 2 numbers which are stored in 2 variables in a single statement???.. I know that it can be done but i am not getting the logic correctly... Please help!!!!!
     
  2. Salem

    Salem New Member

    Joined:
    Nov 15, 2007
    Messages:
    133
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Please don't PM me for 1:1 support.

Share This Page