GeekInterview | Geeks Forum | Online Quiz | Learning Center | Privacy | Terms and Conditions | Contact
GeekInterview Code Base
Code Snippets Login Register

Swaping two variables without using 3rd variable

It is a program written by using 'C' language, The objective of this program is to swap two variables without using 3rd Variable
11 September, 2007
meefriend4ever
0
N/A

The code is self explanatory

 

Comments [ Leave Comment ]

Posted by jagatsastry at 22 October, 2007
proper one but the title should have been "swapping two integers(or characters) without using a temp vbl". This method cant be used with floating point numbers.

 

Tips [ Leave Tip ]

No tips added yet. Be the first one to share tip.

 

Reviews [ Leave Review ]

No reviews added yet. Be the first one to review.

 

Tags

code

 

Related Categories

Oracle » Database » C/C++
DB2 » Database » C/C++
Code Samples » C/C++
SQL Server » Database » C/C++
MYSQL » Database » C/C++
Copyright @GeekInterview.com