----------Updated ------------
codymanix and moonshadow have been a big help thus far. I was able to solve my problem using the equations and instead of using right
please look at this program.. this might be the best answer till date on this page...
#include int main() { int a,b; a=3; b=5; printf("%d %d\n",a,b); b = (a+b)-(a=b); // this line is doing the reversal printf("%d %d\n",a,b); return 0; }