#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
12:39 PM
By:
Bhanu Namikaze

Bhanu Namikaze
Bhanu Namikaze is an Ethical Hacker, Security Analyst, Blogger, Web Developer and a Mechanical Engineer. He Enjoys writing articles, Blogging, Debugging Errors and Capture the Flags. Enjoy Learning; There is Nothing Like Absolute Defeat - Try and try until you Succeed.
you may also like
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment