Create a simple code fragment that will swap the values of two variables num1 and num2.
Please read the guide .
Please answer the question in detail
int temp; temp = num1; num1 = num2; num2 = temp;
Doubtly is an online community for engineering students, offering:
Get the pro version for free by logging in!
5.7k questions
5.1k answers
108 comments
557 users