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...

swap 2 variables without using 3 rd variable???

Answer Posted / rajendra

let
A=10
B=20
after swaping A=20
B=10
ok
A = A + B (A = 20+10 = 30)
B = A - B (B = 20-10 = 10)---->B=10
A = A - B (A = 30-10 = 20)---->A=20
Thats all very simple

byee Friends
rajendra
rajendra prasad reddy
rajendra_penumalli@yahoo.com
9885162742
hyd

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the types of Bug?

1579


Hi, Anybody knows about Hexaware company..

2114


Explain the importance of agile testing?

1173


Hi there Does anybody can respond to my Questions? Is some one there to answer my Questions posted in Software testing category.pls E-mail to sunitht27@yahoo.com

2184


name poneno dept sun 9894433467 computer This is the xls sheet a programs written to transfer this data into database write test cases and test scenario?

2386


what could be the (realtime)bugs you come across in job portal and health care projects in terms of 1. high severity n low priority 2. high severity n high priority 3. low severity n low priority 4. low severity n low priority? pls its very urgent thanks n in advance n lukin forward for reply

2156


can anyone help me regarding testing patterns?

2036


What are some best practices that you should follow when writing test cases?

1239


I have an Interview about Guidewire claimcenter,so could you provide any info regd it?.I would really appreciate any kind of help- email at hvshah2001@gmail.com

2497


What are the cases why parameterization is necessary when load testing the Web server and the database server?

2087


what is the function generator?

2296


What is security Hole ? Is this possible Some one can acess any of restricted page (like admin side)? How you test this previllaze?

2420


what are the advantages of manual and automation testing ? and which one would u term as efficent testing and effective testing ?pls do reply thankx in advance

1954


What are the typical risks that you identify during test planning and their mitigation plan and Contengency plan.

2582


Which are the standards for software test plans?

1226