topjavatutorial.com
C : Swap two numbers using pointers - Top Java Tutorial
In this article, we write a program in c language to exchange the entered two numbers by using pointers. Example : Exchange 2 numbers using pointers(call by reference) Output: Enter the value of first number, num1 10 Enter the value of second number, num2 4 Before Swapping num1 = 10 num2 = 4 After …
TopJavaTutorial