Swap two variable values without third
Here is a C program Code to swap or exchange two variable values without third variable. This program uses a simple mathematical trick. Suppose we have two variables with values: num1 =10, num2 = 20 num1 = num1 + nm2 => num1 =10+20 = 30 num2 = num1 -num2 =>… Read More »