Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

X=10,Y=20 you need to swap the numbers without using a
third variable?

Answer Posted / sandip patil

If X=10 & Y=20
then for swapping just go with following

Y=Y-X i.e. Y=20-10=10 here value of Y=10
X=X+Y i.e. X=10+10=20 Here value of X=20

It is swap

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is keyword view in qtp?

948


What is RTM (require ment tracebulity marix) fromate?

2068


How to remove associated function library?

1008


What is the basic concept of quicktest professional (qtp)?

1084


How do you test DLL files using automation Tool QTP?

3251


In qtp, how you can get the last character from a string?

1022


How many types of recording modes in qtp? Describe each type with an example where we use them?

1054


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

1131


how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

4621


In qtp, explain what is keyword driven automation framework?

1067


Suppose I want fail that check point? How can you do that?

1113


How u will do versioning in QTP?

1908


What is test object model in quicktest professional?

1096


diff between qtp versions from 8.5

2046


I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

2154