Create a simple code fragment that will swap the values of two variables num1 and num2.
4 years ago
C Programming
int temp;
temp = num1;
num1 = num2;
num2 = temp;
Sanisha Maharjan
Jan 20, 2022