Below are revisions for this snippet.

C Integer swap





Syndication

Revision Revison 1
Nifty way to swap two integers in C (C++) without using a temporary variable. Uses one line of code (3 assignments).