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
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Explain the terms test and business component?
What is qtpro? What is quick test pro? What is a quick test professional?
What is data driver in qtp?
What is RTM (require ment tracebulity marix) fromate?
what are the utilities and drivers
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
wht type of User defined functions or Java Releated functions do we write in VB scripting
how to test load test and block box testing an a web based application pls give ans briefly
How you can find length of array in qtp?
What the differences are and best practical application of Object Repository?
What is the short cut keys for the following?
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
Can we record using all the modes in a single script? Explanation with example is appreciated
Explain quicktest professional (qtp) testing process?