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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice