swap 2 variables without using 3 rd variable???
Answer Posted / guest
Ex:
1.
A=20,B=10
A=A-B=20-10=10
B=A+B=10+10=20
A=B-A=20-10=10
2.
A=6,B=4
A=A-B=6-4=2
B=A+B=2+4=6
A=B-A=6-2=4
The above logic works if A>B. If B>A:
B=6, A=4
B=B-A=6-4=2
A=A+B=4+2=6
B=A-B=6-2=4
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Hi, i am looking job in perfomance testing using Loadrunner can any body help me a project in any domine plz(Usah) chs_29@rediffmail.com
If you are handling a product testing and if there are around 100 test cases and in them few test cases are failed then at the end of the day how will you treat whether the product is pass/fail.? consider the failed test cases are in functional requirements.
When should you opt for manual testing over automation testing?
How to do manual testing of a E-insurance project (end to end process)
Test approach to windows update?
how do u manage scripts in winrunner when you application is changing frequently?
Please send any one latest 3+ years of experience testing tools resumes my mail id is krishnavenimodaliar26@gmail.com
What is the test case?
Easiest way to write test cases? How i can learn writing the test cases?
what is dib format?
Tell me the SRS based review,brs based review
Describe your personal software development process.
Hi All. How can we write negative test cases for Logout Operation ? Please place the answer with a few details and if possible add some related object properties. "A tester exposes his/her ability not only by words he/she also proof it by work"
what is test scenario and test condition?
What is an entry criteria?