Four friends, A, B, C, and D, are sitting in a row. A is not next to B. C is sitting next to D. Who is sitting in the middle?

Answer: C. C
C is sitting next to D, which means C and D are together. Since A is not next to B, the only arrangement that satisfies these conditions is A, C, D, B, making C the middle person.