The correct option is D. We know NaOH(aq) will abstract the acidic proton. In the current reaction, it abstracts the phenolic proton. Thus -OH on the ring converts to -O-. In the second step, it is reacted with CH3I which is a classic SN2 reaction. Thus the -O- present will form -OCH3. Hence option D is the correct answer.