Friday, October 3, 2008

Programming: Swapping Variables

Here's a pretty simple programming problem:

Let A equal some integer and B equal some different integer. How can you swap these variables without using a temporary variable?

1 comment: