Swap 2 variables without using a temp variable

Answer Posted / s n

try this one line swaping of two variables


a=((a+b)-(b=a));

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which model is following in your company for developing software?

715


How will u decide test data to see that evey feature is thoroughly tested

1584


What is an inspection in software testing?

676


Any one send me sample question for multimedia testing with microsoft access database. I am having interview next week. Please post it or send me my personal e-mail. Thank You

1583


Zenq interview questions for manual testing

1408






wat if fiddler and how it is used in tesing an application. please explain with a real time scenario

1696


What are the advantages of waterfall model?

670


What type of metrics would you use?

1744


hai friends can u expalin about real time process of testing at the company, like flow diagram

1615


How to validate a Testcase.and is the testing Methodology.

1835


hi experts, i was asked to write down the requirement description,test scenario, and test cases for gmail login and send email and then to check the email was sent in the sent mails.the format given to me was like this: Req ID, Req description, Test Scenario, Test cases....Can anybody please help me out with this..

1583


Do you think tools are required for managing change. Explain and please list some tools/practices which can help you managing change.

1647


hi... guys can any one pls help me out.... I m civil engg graduate i want to come into s/w field... i have decided to do manual testing course. i know its not sufficient.. which r the other coures shall i do with this.. suggest me good atomation tool and SAP courses... thanks in advance.. i wil be thankfull to u all

1705


What are the different ways to check a date field in a website?

676


What types of software testing are available?

704