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
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
What are the benefits of qtp?
How to write business scripts using object repository with different scenarios
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
how do u plan test automation?
give me an example where u used good judgement and logic in solving a problem
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
How many add-ins comes by default with quicktest professional (qtp)?
Explain the concept of object repository and how quicktest professional recognises objects?
please post the interview questions for QA position in FACTSET
How do you know the location Id of an object if you know its index id?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
How do we analyze the checkpoint results?