Answers for "write a program that swaps the value of two integers variables without help of any third variable."

C
2

how to swap 2 numbers without 3rd variable

int a = 3;
int b = 5;
a = b*a;
b = a/b
a = a/b
Posted by: Guest on April-02-2021

Code answers related to "write a program that swaps the value of two integers variables without help of any third variable."

Code answers related to "C"

Browse Popular Code Answers by Language