Option (A) is correct.
Explanation:
Assertion is true. Glucose is dextrorotatory, written D-(+)-glucose, and fructose is laevorotatory, written D-(–)-fructose. So they rotate plane-polarised light in opposite directions, and both still carry the letter D.
Reason is true. NCERT: the letters D and L give the relative configuration of a sugar with respect to glyceraldehyde. With the most oxidised carbon at the top of the Fischer projection, the −OH on the lowest asymmetric carbon is compared with the −OH of glyceraldehyde. If it is on the right, the sugar is D. The (+) or (–) sign is a separate, measured property.
Reason explains Assertion. In both glucose and fructose the lowest asymmetric carbon is C5, and in both the C5 −OH is on the right, so both are D. Their other asymmetric carbons, which differ, and their signs of rotation play no part in the D label.

The tempting wrong choice: (B) would mean the reason is true but unrelated. It is not unrelated: it is exactly the rule that makes a laevorotatory sugar a D-sugar.