What character should replace the question mark in the pattern: X, Y, Z, A, B, ?

Answer: A. C
The pattern follows the alphabetical order, and C is the next character after B.