Program to swap two numbers using a function.
Here, we have a basic program example to swap two numbers using functions using different languages. This program is created in c language, c++, Java, and Python. Function to swap numbers in C language Function to swap numbers in C++ language Function to swap numbers in Python language Function to swap numbers in Java language