C Program to Swap Two Numbers
Swapping two numbers means exchanging their values. In this article, we will learn how to swap values of two numbers in a C program. Example Input: a = 5, b = 10Output: a = 10, b = 5 Input: a = 51, b = 17Output: a = 17, b = 51 Swap Two Numbers Using Temporary VariableThe easiest method to swap two n