Simple C Program Special Logic Tricks
//Swap Two Numbers In Single Statement Without Temp Variable #include<iostream.h> #include<conio.h> int main () { C Program Special Logic Tricks //Swap Two Numbers In Single Statement Without Temp Variable #include<iostream.h> #include<conio.h> int main () { int a=1,b=2; clrscr(); a=a+b-(b=a); cout<<“A: “<<a<<” B: “<<b; getch(); } You Can Also Take Input Values For A And B […]