how to swap all the values without using temporary variable.
tha values r a = 20, x=60 and p=2.

Answer Posted / padmas

If the values for a=20,x=60, and p=2 then
need another set of values for b=,y= and q= to do the swap
without using temporary variable.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we develop a multi-tier application in Java?

1472


What is the difference between DECISION COVERAGE(DC) and MODIFIED CONDITION/DECISION COVERAGE(MCDC)?

1784


How to know we are in home page of a web application using QTP

2002


I am work in it aompenei

969


purpose of abstraction and interface

1528






Hi can you please help for the following. I have a ASP.Net web page I want to print the whole page how is it possible? I want It in ASP also.Please send me the solutions dipankar.hazari@gmail.com . Thanks in advance.

2324


Define distributed queries. can you explain me as soon as possible

1626


Write a shell program to test whether a given year is leap year or not ?

2263


what is the use MDM(Master Data Management)and meaning

1906


Difference of Console, web & windows applications?

1589


how does database connection using ADO.NET?

1522


in network security,how we identified threat?some one say we found threat according to it's signature,but how we get signature or pattern of the virus?

1519


Hai, My name is nisha.I have NIC exam.If anybody Knows NIC previous paper pattern pls send me to nishanairp@gmail.com

1745


how do find the user exit for selected feild whatis the process and can u plz explain it

1725


Is there any standard procedure to test the application as a whole? Or How can I test complete application right from the requirement gathering?

1474