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
In JCl , we have COND parameter.This holds comparison code and condition.It also has only and even parameters. ex: COND((4,GE),EVEN).what the comma mean here. is that 'and' or 'or'.
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?
1.how to deploy the Maven application in weblogic server? 2.In Real time projects all classes are singleton or some classes only singleton explain? 3.what are the major uses of the designpatterns? 4.explain restful &Soap based services explain?
Always use scope terminator like End-If with IF, End- Evaluate with Evaluate statement.Can somebody explain me the detail logical explanation?
how to work search engine? plz detail answer me.
WHat is execution in manual testing and when will we start execution and what language we use in execution
3. What is the difference between testing and Quality Assurance?
give idea for creating screen in abap
Give examples of macro quoting function?
how CLR identify vb file?
what is web service in java? have u use before.
How to call dll API sub routine in VB Form.
Diff between IF and where ?
What is the difference between WebIntelligence and Designer in creating universes?
Find out the list of roles which gives access to GUI activities? thanks in advance