Answer. A compound consisting of triple bond is called alkyne. The general formula for alkynes is CnH2n-2. Where 'n' is number of carbon atoms. For a compound having 4 carbon atoms number of hydrogen atoms are calculated as:
2(n) ― 2= 2(4) ―2 = 6
Therefore, a compound consisting of four carbon atoms and a triple bond will have six hydrogen atoms.