How to swap two variables, without using third variable ?
#include<stdio.h> #include<conio.h> int main() { int a,b; clrscr(); printf("\nEnter two numbers:"); scanf("%d%d",&a,&b); printf("\nThe numbers after swapping are %d %d",b,a); getch(); return 0; }