You are viewing a single comment's thread. Return to all comments →
void update(int *a,int *b) { *a = *b + *a; *b = abs(*a - 2 * *b); }
C++ Just tried on bare numbers to get the example work and it worked for all test cases xD
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 →
C++ Just tried on bare numbers to get the example work and it worked for all test cases xD