Q.

Hydrocarbons are mainly composed of:

1 Hydrogen, carbon and nitrogen  
2 Hydrogen and carbon  
3 Hydrogen  
4 Hydrogen, oxygen and carbon  

Ans.

(2)

A hydrocarbon is an organic chemical compound composed exclusively of hydrogen and carbon atoms. For example, the simplest hydrocarbon is methane molecule with the molecular formula CH4