You are viewing a single comment's thread. Return to all comments →
YOU CAN DO THIS
int temp=*a;
*a=*a+*b;
if((temp)>(*b)) (*b)=(temp)-(*b); else (*b)=(*b)-(temp);
Seems like cookies are disabled on this browser, please enable them to open this website
Pointer
You are viewing a single comment's thread. Return to all comments →
YOU CAN DO THIS
int temp=*a;
*a=*a+*b;