Compound in option (B) and (C) are acetals (i.e. not having anomeric –OH). Hence they do not give Tollen's test.
From the given following (A to D) cyclic structures, those which will not react with Tollen’s reagent are: [2026]

(3)
Compound in option (B) and (C) are acetals (i.e. not having anomeric –OH). Hence they do not give Tollen's test.