A and B are the compounds of carbon. A on passing over red hot coke, is converted to B. A and B are :