Correct option is B
Six people, Karan, Dilip, Rahul, Prabhat, Alok and Sandeep are sitting in a straight line, facing north. Karan sits 2ndfrom the left end.
_, Karan, _, _, _, _
Dilip sits 3rdto the right of Karan.
_, Karan, _, _, Dilip, _
Rahul sits 2ndto the left of Dilip.
_, Karan, Rahul, _,Dilip, _
Prabhat sits 3rdto the right of Rahul. Sandeep sits 2ndto the left of Prabhat.
_, Karan,Rahul, Sandeep,Dilip, Prabhat
Final arrangement is

Sandeep is sitting 2nd to the right of Karan.
option b is correct.