The maximum number of hydrogen bonds that a molecule of water can have is:
The two hydrogen atoms of the water molecule form hydrogen bonds with oxygen atoms of another water molecule, and the two lone pair of electrons on the oxygen of the same water molecule can attract hydrogen atoms in other water molecule in. So, 4 hydrogen bonds are possible with one water.
Hence option D is correct.