swap two number wthout using third variable

Answer Posted / jvhariharan

void main()
{
int a=10,b=20;
a=a+b;
b=a-b;
a=a-b;
}

Is This Answer Correct ?    24 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how pseudo column works?

1723


when will triggars the at new event in abap and web dybn pro?

1494


What is %Type,%Rowtype?

1842


What is Negative testing?

1505


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

1472






what will we require to build project with the help of oracle

1390


can u send some model papers how computer awareness questions are asked in goverment jobs(oriental insurance)to my mail id me.priyankapadma@rediff.com

1931


Diffrence between 2.0,3.0,3.5,4.0. versions of .net?

2768


5. Which of the following can you do with DB2 Express- C? Query databases with SQL Query databases with XML using XQuery and XPath Use SQL in Xquery and Xquery in SQL All of the above

2129


how can i create report in abap to insert data in table pa0002 using insert command

1712


I am work in it aompenei

971


diffrence between oracle apps , .NET , SAP

1605


If i have a dataset queried from Sql and I would like to insert the dataset into a specific node in an xml document how do I do this

1708


is it possible to desable particular parameter of the normal orcle report based on some condition ?????? if yes,wht is the function for desabling a parameter...

1584


What is the difference between WebIntelligence and Designer in creating universes?

1471