Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
alowe
· 5y ago · 0 comments
They're not saying swapping equal valued variables breaks it. It's when the pointer is the same, using the trick to swap a variable with itself will set the variable to 0.
Comments
[–]
Thorham
5y ago
Yeah, I miss-read that. Thanks for pointing that out!