#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
printf("Enter two values");
scanf("%d%d",&a,&b);
printf("Before sawpping A = %d B = %d",a,b);
a = a + b;
b = a - b;
a = a - b;
printf("\nAfter sawpping A = %d B = %d",a,b);
}
Copyright © 2010 C Programs
Icons & Wordpress Theme by N.Design | Blogger Templates by Blog and Web
0 comments: (+add yours?)
Post a Comment