Which of the contains both ionic and covalent bonds in the same compound?
a. CO32-
b. BaSO3
c. SrO
d. HI
e. MgS