Carbon and hydrogen are detected by heating the organic compound with cupric oxide (CuO) strongly, in this the carbon is oxidised to carbon dioxide and hydrogen to water.