I was going through a book about C and there's this "ANALYZE!" problem that I can't quite decipher/understand. It has this code presented:
void x(int *y, int *z)
{
*y = *y ^ *z;
*z = *y ^ *z;
*y = *y ^ *z;
}
After showing that, it asked for a better way to name the function than "x". After renaming the function, it said "Determine the role of this function to *y and *z."
The whole thing is kind of vague for me. What does the questions imply? Additionally, how can I understand and answer this?