@LearningandTeachingCoding07
In this tutorial program, the temp variable is assigned the value of the first variable. (temp = n1 )
Then, the value of the first variable is assigned to the second variable. (n1 = n2)
Finally, the temp (which holds the initial value of first) is assigned to second. (n2 = temp)
This completes the swapping process.
#LearningandTeachingCoding
#CProgrammingTutorials
#CPrograms