#include<constream.h> void main() {int a,b; clrscr(); cout<<"Enter A = "; cin>>a; cout<<"Enter B = "; cin>>b; a=b+a; b=a-b; a=a-b; cout<<"The Value of A= "<<a<<"\nThe Value of B= "<<b; getch(); }
C Program For Swapping
January 04, 2015
By:
Bhanu Namikaze
Bhanu Namikaze
Bhanu Namikaze is an Penetration Tester, Red Teamer, Ethical Hacker, Blogger, Web Developer and a Mechanical Engineer. He Enjoys writing articles, Blogging, Debugging Errors and CTFs. Enjoy Learning; There is Nothing Like Absolute Defeat - Try and try until you Succeed.

No comments:
Post a Comment