# How to determine what compounds form hydrogen bonds? [closed]

Which of the following compounds can form hydrogen bonds?
a. $\ce{H2S}$
b. $\ce{CH3OCH3}$
c. $\ce{HCl}$
d. $\ce{BH3}$
e. $\ce{NH3}$

Why isn't $\ce{CH3OCH3}$ since $\ce{H}$ is bonded with $\ce{O}$ whereas $\ce{H}$ in $\ce{NH3}$ is not bonded to any oxygens?

## closed as off-topic by Jan, Todd Minehardt, ron, jerepierre, Jon CusterMar 21 '17 at 16:15

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

In dimethyl ether, $\ce {CH_3OCH_3}$, all the hydrogen atoms are bonded to carbon in methyl groups. Only the carbon atoms are bonded to oxygen.