X=10,Y=20 you need to swap the numbers without using a
third variable?
Answer Posted / ramyashetty
'a and b are two variables ; Following code swaps both number and string inputs
a = Inputbox("Enter a")
b = Inputbox("Enter b")
a = a + b
b = left(a,(instr(a,b)-1))
a = Right(a,(len(a)-len(b)))
msgbox "b ="&b
msgbox "a = "&a
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
banking domain description for software tester for interview
How to handle dynamic objects in quicktest professional (qtp)?
Explain step generator in qtp?
Tell me one scenario, the complex functionality you have automated in your project?
In Remote acess server how u run a test?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
give me an example where u used good judgement and logic in solving a problem
How would you export a script from one pc to another in qtp?
Explain the terms test and business component?
Explain quicktest professional (qtp) testing process?
How to use descriptive programming?
When you open QTP, how many sheets you can see?
What is accessibility check point?
When to use shared and local object repository?