Answer: C
In 2-nitrophenol the O−H and the adjacent NOX2 are close enough to form an intramolecular hydrogen bond, so the hydroxyl is unavailable for water. In 4-nitrophenol this is impossible, and the OH and NOX2 groups hydrogen-bond with water, which raises solubility.