Sodium hydride (NaH) react with water to form hydrogen gas and the sodium hydroxide (NaOH) . NaH+H_2O\\rightarrow H_2+NaOH i.e., Na^+, H^- and H^+, OH^- give rise to H_2 and NaOH . So, it is similar to option B.