Correct option is D
Given:
All 105 students in a class are standing in a row facing north.
Ravi is 49th from the right end while Shruti is 38th from the left end.
Solution:
Total = 105
Ravi is 49th from the right.
So from the left: 105 - 49 + 1 = 57
So from the left: 105 - 49 + 1 = 57
Ravi = 57th from the left
Shruti = 38th from the left
Distance between them: 57 - 38 = 19
Number of students between them = 19 - 1 = 18
So, 18 people stand between Ravi and Shruti.
Thus, correct option is (d).