Final answer:
The compounds that have carbon-carbon double bonds are alkenes, which contain at least one C=C bond, whereas alkanes have only single bonds, and alcohols have an -OH group.
Step-by-step explanation:
Compounds that have carbon-carbon double bonds are known as alkenes. Alkenes are a category of hydrocarbons which include compounds that possess at least one C=C bond. In contrast, alkanes only have single bonds between carbon atoms, and alcohols are characterized by their -OH functional group and do not necessarily have double bonds. Alkynes have carbon-carbon triple bonds, and ionic compounds are not typically composed of carbon chains and therefore do not contain C=C bonds.
The correct answer to the question of which compounds have carbon-carbon double bonds is B. Alkenes.