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 this is satish can some one help me out by sending the maxium notes on client sesrver ,web server and company architechture project hirearchy and company hirearchy i will happy to recive the answers as early as possible
What are the bugs we cannot find in black box?
What is PBX Testing & What is Test coverage?
Explain the components of a test plan?
There is an opening in our organization Sierra Atlantic, Hyderabad. All Manual test engineers with 2-3 years of experience can forward your resumes to mah_cs82@yahoo.com before May 01, 2008. (Only manual testers) with a covering letter, current CTC and Expected CTC.
To specify the test artifacts involved in testing.
When we use integration testing for any new system so why we required system testing.
could anyone explain application testing in sequence order i don't have any experience in that
Explain what is exhaustive testing?
How do you scope out the size of the testing effort?
There are some features to improve the performance of a Product. What are those factors?
In what situation would you want to parameterize a text verification check?
what is Test management fundamental?
Why Equivalence Partitioning is called equivalence or what is the significance of equivalence term in ECP?
What is bottom-up approach?