Which of the following is a complex sentence?
A. Mark wanted blueberry pie and vanilla ice cream.
B. As I expected, she showed up late.
C. Eileen bought pants but not a new jacket.
D. Sue gave Jim a new racket, and he left for the tennis courts.