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

Answer: C. C
C is sitting to the right of D, which places C in the middle when arranged properly.