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 |
What is a checklist? and wat are its contents??
what responsility of the network administrator?
I don't know about testing, I want to learn about Teasting. What kind of books I should read? Can anyone help me? (Like manual, automated testing) lots of things are there. from where I should start?
What is test matrics?
what is test data?how test data is prepared? are there any guidelines/methods to prepare it?
for example, we have old password,confirmed password, new password followed by submit button. what are the test cases written for that?
What is difference between web based testing and windows based testing ?
What are the test cases for the fields, Name, Password, Login id, Address, phone,etc.?
What are the disadvantages of manual testing?
what are the release notes and what release note contains, when these prepared.
my mail id is mudaseer123@gmail.com and password:qwertyiop but if i enter mail id in capital letters and password correctly should then what will happen?does it display login failed?
how to test ecg machine?