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
Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 1 number. Find the missing number
how to add a new table with variables and thier values into a imported file uisng proc import?
what is the software to run the GSM gate opener program
What is the use of Differ interface check box in Ship confirm?
how to study PHP my own? i reffered many sites.. but as being a fresher i couldnt follow those... which site will be the best one?
define profiler???
what is the difference between SCAN AND CHECK,LOKUP AND XFOOT? where we can use thease opcodes? Can any body tell me real time senariao with example?
What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?
How to connect the .accdb database file of microsoft access to the Visual Basic 6.0 forms?
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
what is web service in java? have u use before.
in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?
how do you generate source code for the automatic generation for receipt number
What is easiest way to get the PL/i compiler,I didn't have found the compiler in my library. Is there any extra cost if we want to access the PL/1 programs?Actually we r having Mainframe rented training Ids
how many types of bytes are there???