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
Do we have any certifications for ETL Testing ?
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
Why we have to do manual testing?
tell me some major and minor defects in ur net banking project?
Can anybody help i put the pharma and bank project in my resume, but i dont know what to tell about them, any body tell the where can i get the information about them,what i need to tell about these applications,please help me
Write all combinations of test cases for calculater on + symbel
whar are the contents in db testing test case template
if yahoo ceo asks you to do performance testing for yahoo site, what are the inputs you ask from them?
. Is any graph is used for code coverage analysis?
what kind of testing have u done?
can anybody tell me what is release process of company? release note?
Usually customers won’t give all the requirements. How will you manage & collect all the necessary information?
Which is the best book to ref. for design the test cases/scenario in manual testing,which gives detailed idea with all the strategies ?
what are the risk factors in the project? what is the base for testplan and entry criteria ,exit criteria for test plan?
Can anyone please tell in detail about the Rally tool and how a tester is going to use it.