SWAPPING OF TWO NUMBERS
Amit Waghmare
6 years ago
SWAPPING OF TWO NUMBERS:
#include<studio.h>
#include<condo.h>
int main()
{
int a, b;
clrscr();
printf("ENTER TWO NUMBERS: \n");
scanf("%d%d",&a,&b);
a=a+b;
b=a-b;
a=a-b;
printf("a=%d\n b=%d\n", a, b);
getch();
}
(adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-6559603792444981",...
SWAPPING OF TWO NUMBERS
Reviewed by Amit Waghmare
on
October 07, 2018
Rating:
