Six people are seated in a row. A is to the left of B but not next to C. D is to the right of C. E is sitting next to A. Who is sitting at the end of the row?

Answer: C. D
D is to the right of C, and since A is not next to C, D must be at the end.