題組內容

2.Given a function foo() written in the C programming language as follows.
  61d3c4daab8b8.jpg

c. (10 points) The swap() function is used to exchange the values of two variables via their addresses. Please implement the swap() function in C.