How to swap values between two variables without using a
third variable?
Answer Posted / kumar
//language using C#
int a=10;
int b=20;
a=a+b;
b=a-b;
a=a-b;
thanks
Kumar
http://www.sourcecodehub.com/php/how-to-swap-values-of-two-variables-without-using-a-third-variable-integer/
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what do u mean by tagging
In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..
What is the difference between DECISION COVERAGE(DC) and MODIFIED CONDITION/DECISION COVERAGE(MCDC)?
You are given a dictionary of all valid words. You have the following 3 operations permitted on a word: delete a character, insert a character, replace a character. Now given two words - word1 and word2 - find the minimum number of steps required to convert word1 to word2. (one operation counts as 1 step.)
What is the merger sort principle and its time complexity.
What is the meaning of client-server application. The purpose of Client-Server Application. with description.
how do we provide security for web services
any drawback are there in mantis?
kindly send interview materials
what are the 3 forms of a prolog term
what are all the validation we need to perform in data stage?
What are the tasks performed by a Team Lead
Need guidewire related Documents(Interview Question/Tips/Best Practice/Dumps)
Have you used callsymputx? what points need to be kept in mind when using it?
I need source code for Enrollment System using Visual Basic 6.0/2008 database MS Access 2007 for my school thesis project...please help me..kindly send in my email jpinedamcp@gmail.com