Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 30th, 2015
195
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
void swap(int *x, *y) {
if (x == y) // Check if two addresses are the same
return x;
*x = *x + *y;
*y = *x - *y;
*x = *x - *y;
}
//
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
1 hour ago | 20.53 KB
Untitled
3 hours ago | 12.51 KB
Untitled
5 hours ago | 15.14 KB
Untitled
7 hours ago | 12.31 KB
oh-my-posh Script
JSON | 9 hours ago | 2.38 KB
Untitled
9 hours ago | 11.17 KB
Untitled
11 hours ago | 12.86 KB
Untitled
13 hours ago | 14.76 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!