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;

0
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions