help with pascalz again
•
5 Apr 2011, 15:54
•
Journals
u ve got 2 vars a,b both of them byte and u set them with read
the problem is how do u swap a and b without using a third var
a:=8;
b:=3;
So , how to swap them without using a third var?
the problem is how do u swap a and b without using a third var
a:=8;
b:=3;
So , how to swap them without using a third var?
and cba to think
a = a + b
b = a - b
a = a - b