Identify the type of reaction for each of the following as combination, decomposition, single replacement, double replacement, or combustion:

a. A metal and a nonmetal form an ionic compound.

b. A compound of hydrogen and carbon reacts with oxygen to produce carbon dioxide and water.

c. Heating calcium carbonate produces calcium oxide and carbon dioxide.