The question is asking us to swap the values of xp and yp while not changing where they point to. Setting xp equal to yp would not work because then we couldn't change yp since the value for xp was overwritten. We can use a third variable to swap them.
int zp = xp;
xp = yp;
yp= zp;
It is c cuz i had this question asked my mom and she said really it is easy