TechKindle@Gopikrishna
Learn from yesterday, live for today, hope for tomorrow.
Wednesday, November 9, 2011
Swapping two integers
Swapping Two Integers using different methods.
1) Using Temporary variable
2) Using Arithmetic Operators
3) Using EX-OR operator
Here is the complete source code.
Output it as shown Below:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment