Swap 2 variables without using a temp variable
Answers were Sorted based on User's Feedback
Answer / sheetal
if a=5 and b=3 are two variables, then add them i e
a=a+b; a=8
b=a-b; b=5
a=a-b; a=3
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / s n
try this one line swaping of two variables
a=((a+b)-(b=a));
| Is This Answer Correct ? | 3 Yes | 5 No |
How to test the Online Games?? Suggest tricks. I have experience in server-client application testing.
What is the exact difference between Integration & System testing; give me examples
test cases on antivirus with integration testing
What is the difference between web based application and client server application?
What is Defect Seeding?
What is the difference between software Product and Project
Can anyone explain me about Tracebilit metrics?
How to write test cases for testing databases,especially for testing and writing test cases for stored procedures.
How can u justify u r written all the test cases are meeting the client Requirements?if is there any missing functionality how can u know?
can you write test cases on pen?
What is incremental intergation testing?
what the diff b/w verification and validation
8 Answers College School Exams Tests, SunGard,