DEV Community

Discussion on: Swap two integers in 'C' programming Without using third variable

Collapse
 
joecar7 profile image
Joe Carnuccio • Edited

reduced to one line:

a ^= b ^= a ^= b;