X=10,Y=20 you need to swap the numbers without using a
third variable?
Answer Posted / sandip patil
If X=10 & Y=20
then for swapping just go with following
Y=Y-X i.e. Y=20-10=10 here value of Y=10
X=X+Y i.e. X=10+10=20 Here value of X=20
It is swap
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is keyword view in qtp?
What is RTM (require ment tracebulity marix) fromate?
How to remove associated function library?
What is the basic concept of quicktest professional (qtp)?
How do you test DLL files using automation Tool QTP?
In qtp, how you can get the last character from a string?
How many types of recording modes in qtp? Describe each type with an example where we use them?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
In qtp, explain what is keyword driven automation framework?
Suppose I want fail that check point? How can you do that?
How u will do versioning in QTP?
What is test object model in quicktest professional?
diff between qtp versions from 8.5
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?