You are viewing a single comment's thread. Return to all comments →
void update(int *a,int *b) { // Complete this function int c = 0; int d = 0;
c = *a + *b; if(*a > *b) { d = *a - *b; } else{ d = *b - *a; } *a = c; *b = d;
}
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 →
void update(int *a,int *b) { // Complete this function int c = 0; int d = 0;
}