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 a temp variable

Answer Posted / s n

try this one line swaping of two variables


a=((a+b)-(b=a));

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate test bed and test environment?

2621


Are there more defects in the design phase or in the coding phase?

1424


Can you do system testing at any stage of sdlc?

1208


What is localization testing (l10n testing)?

1289


can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?

2110


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

2573


How will you determine when to stop testing?

1097


Write the function test case to add a customer to database.

2191


what s test block ratio? please any one answer me..

2318


what are the types of Bug?

1571


1.Tell me negative test cases for notepad 2.Tell me the factors for for writing severity based test cases

6389


Information about Automated Software Installer

1977


What is ofx testing?

1225


What is a testbed in manual testing?

1494


Hi, can any tell how a tester can be judged? i have to interview a tester, how should i judge whether he has a justified experience or not? how a person with 3 years of experience in manual testing can be judge?

2033