Correct option is B
Given - Seven friends C, D, E, P, Q, R and S are sitting in a straight line facing north. No one sits to the right of D. Only two people sits between Q and E. E sits immediately to the left of D. R sits third to the left of C. P sits to the immediate left of E

Three people (Q, C, P) sit between S and E.