Seven persons- A, B, C, D, E, F and G are sitting in a linear row facing north direction. Each of them likes different fruits.
C sits second to the left of D, who likes Mango.
The one who likes Mango sits third from one of the extreme ends of the row.

Two persons sit between F and C.
F sits adjacent to the one who likes Guava.

E sits immediate right of the one who likes Kiwi.
Neither C nor F likes Kiwi.

A sits third to the right of the one who likes Orange.

The one who likes Apple sits adjacent to B.
B does not sits at the end of the row.
C does not likes Apple.
Thus, Case 1 gets cancelled.

G does not sits adjacent to the one who likes Banana.

Now, C must likes Papaya.

This is the final arrangement.
As many persons sit between C and F as between G and A.