X=10,Y=20 you need to swap the numbers without using a
third variable?
Answer Posted / venki
x=10 and y=20
x=x+y
=>x=10+20=30
=>x=30
y=x-y
=>y=30-20=10
=>y=10 ----->@1
x=x-y
=>x=30-10=20
=>x=20 ----->@2
now x and y values has been swaped
see @1 and @2
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is the use of ordinal identifier in qtp?
how u will evaluate the tool for test automation?
what type of run time errors you get while you ar edoing rpg program?
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
What is a data driven test in qtp?
Differentiate the type of test cases which can be automated and which cannot be automated?
What is accessibility check point?
How QTP identify the system time that's changes every seconds?
How to handle the exceptions using the recovery scenario manager in qtp?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
What is the difference in testing a client-server application and a web application?
How do you delete unwanted results in qtp?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.