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 write test cases for fibonacii series
how do u manage scripts in winrunner when you application is changing frequently?
What is localization testing?
What is the bug life cycle? In which part u involved?
2 Answers AMES Technology, Covansys, Sankhya Infotech,
how to determine if a test environment is approritate?
What is the example of Integration Testing?
How do i write a test condition to test the following simple program with the intention of 100% Condition coverage testing Print “Hello World” If Date $ = ‘01-01-2000’ AND Time $ = “00:00:00” THEN Print “Happy New Year” END IF PRINT “The date is = “Date $ PRINT “The time is = “Time $. Could anyone please clarify in detail. Would really appreciate it....
would we do functional testing inside integration testing
Describe any bug you remember. Plz Give some real examples
Describe a past experience with implementing a test harness in the development of software.
What is Functional Testing and Regression Testing?give one real time Example?
What is Cyclometric testing?