You are viewing a single comment's thread. Return to all comments →
Since the value of a is changed by
a
*a = *a + *b
we have to use
*b = *a - *b - *b
If we use
*b = *a - *b
the value of b will be equal the value of a passed to the function
b
@udrulz92
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 →
Since the value of
a
is changed bywe have to use
If we use
the value of
b
will be equal the value ofa
passed to the function@udrulz92