How to swap values between two variables without using a
third variable?
Answer Posted / mona
swap(int var1,int var2)
{
var1=var1+var2;
var2=var1-var2;
var1=var1-var2;
}
thanks for asking.
| Is This Answer Correct ? | 45 Yes | 13 No |
Post New Answer View All Answers
Explain with examples any 2 features of OOPS.
5. How do you round the addition or subtraction of two numbers in assembler?
qtp 9.2 14 days demo version was expired.I uninstalled how to reinstall this again
in cobol,wat is the difference in using 'set index in occurs clause' ....and 'occurs depending-on clause'
Difference between views and index in sas programming
When we delete logfiles such as screenshots how does it affect the ldf file? Ive seen huge change while adding screenshots in the ldf file but a very minor one deleting them.Please Explain
what is technical system, business system, logical system in sap pi7.0
sample and simple coding where we get?
Explain the types of operations? Draw the figure for shift and rotate operations?
How to set on/off a group of indicators in a single statement?
Hello Experts, What is the difference between move and move corresponding exactly? please post me asap
hi this is uday i want prepare for nic exam if any one have previous question papers please send me or atlest guide me how to prepare my ID is udaykiran4u@in.com
Find out the list of roles which gives access to GUI activities? thanks in advance
what is the similarity between networking devices?
Which design patterns have you used?