C languageProgramming

7-Write a C program to swap the two numbers without using third variable.

Program: 7

Write a C program to swap the two numbers without using third variable.

Output:

Enter the value of a: 56
Enter the value of b: 31
The value of a is: 31
The value of b is: 56

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.