Closed Thread
Results 1 to 2 of 2

Thread: How many temp variables are required to swap two numbers?

  1. #1
    Member
    Join Date
    Aug 2006
    Posts
    41
    Rep Power
    7

    How many temp variables are required to swap two numbers?

    HAI , FRENDS EVERYONE IS AWARE OF SWAPPING TECHNIQUE.
    CAN ANY ONE GIVES THE ANSWER FOR THIS QUES?
    HOW MANY TEMP VARIABLES R REQUIRED TO SWAP TWO VARIABLES ?
    A) 2
    B) 1


    C) 0
    D) NONE

  2. #2
    Super Moderator sk_kireeti's Avatar
    Join Date
    Feb 2006
    Posts
    2,279
    Rep Power
    65

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 03-02-07, 01:26 PM
  2. Replies: 0
    Last Post: 03-02-07, 01:18 PM
  3. C language - How to swap the content oftwo variables without a temporary variable
    By GEEK in forum ds. c , c++ Interview / Technical Questions
    Replies: 0
    Last Post: 23-01-07, 01:13 PM
  4. Linked list ..help
    By varunjpp in forum DATA STRUCTURES, C, C++, VC ++
    Replies: 5
    Last Post: 17-08-06, 09:19 PM
  5. Aptitude contest - 73 with answers
    By HELP in forum Aptitude Questions
    Replies: 2
    Last Post: 23-04-06, 05:31 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Content Relevant URLs by vBSEO 3.5.1 PL1