Breaking News

Photo in News

Swap values of two variables without using third variable- c program


This program will swap values of two variables without using third variable like temp etc.


Output:
Enter the values of a and b12
10
values before swapping
a=12
b=10
Values after swapping
a=10
b=12



Source code: Download

No comments:

Total Pageviews

  • …

    Posts
  • …

    Comments
  • …

    Pageviews
Designed By Blogger Templates