My answer to A, was 3. The 1st shakes the 2nd and 3rd person which is 2 handshakes. The 2nd person already shook hands with the 1st person so he shakes hands with the 3rd person. The 3rd person already shook hands with everyone so the answer is 3.
My answer to B, is 120. The 1st person shakes hands with everyone but himself. The 2nd
person shakes hands with everybody but the 1st and himself. The pattern keeps on going, everybody shaking hands with everybody but themselves and the people before them. So the answer is
15 (made by the 1st person) + 14 + 13 + 12 + 11+ 10+9+8+7+6+5+4+3+2+1+0 (the 16th
guy shook hands with everybody allready.) so the answer is 120.
My answer to C, is [n(n-1)]/2, Everybody shakes hands with everybody but themselves, but if you count it like that, you are counting double the times (you are saying, the Nth person shaking hands with the Kth person is different from the Kth person shaking hands with the Nth person. so it is [N(N-1)]/2