C Programs / Function to swap two numbers C program

Program Name

Write a C Program for Function to swap two numbers C program.
Theory
swapping is a process of interchanging Numbers.
Program Code


Input
num1 = 5, num2 = 10
Output
Numbers Before Swap
num1 = 5 and num2 = 10 
Numbers After Swap
num1 = 10 and num2 = 5 
Online C Compiler (To copy paste and Run the c program)


Home     Back