You are viewing a single comment's thread. Return to all comments →
void update(int *a,int *b) { int sum,diff; sum = *a + *b; (*a >*b)?(diff = (*a - *b)):( diff = (*b-*a)); *a = sum; *b = diff; }
Seems like cookies are disabled on this browser, please enable them to open this website
Pointers in C
You are viewing a single comment's thread. Return to all comments →