Another silly interview question about how to swap 2 variables without temporary variable
In : Uncategorized, Posted by admin on Mar.03, 2009
How to swap 2 variables without using a temporary variable. Silly…
a=a+b;
b=a-b;
a=a-b;
Tags : interview question
No comments for this entry yet...