//WAP TO SWAPPING OF 2 INT NOS WITHOUT USING THIRD VERIABLE

 //WAP To Swapping Of 2 Int Nos Without Using Third Veriable

#include<stdio.h>

 void main()

 {

   int x , y;

   printf("\n Enter The Value Of x, y");

   scanf("\n %d%d , &x ,&y);

   printf("\n Before Swapping %d%d" , x , y);

   x=x+y;

   y=x-y;

   x=x-y;

   printf("\n After Swapping , x , y);

   }

Comments

Popular posts from this blog

What Is Data Structure.Why Data Structure.And Types Of Data Structure?.

"Basic Introduction Of Programming Language:"

HTML(Hyper Text Markup Language)