Carbon-carbon triple bonds

CH3C≡CH
C3H4

CH3C≡CCH3
C4H6



C4H10

 
Alkynes are hydrocarbons that have one or more carbon-carbon triple bonds. 
Carbon atoms in triple bonds share three electron pairs.
Triple bonds are shown in condensed structures by drawing three lines between the triply-bonded carbons.

The structures of the alkynes at the right show that triply-bonded carbons

at the end of the chain are also bonded to one hydrogen.
in the middle of a chain have no hydrogens (because these carbons have four bonds to carbon).
 
An alkyne with with one triple bond has four fewer hydrogens than the corresponding alkane. 

The general formula for alkanes is CnH2n+2.
The general formual for alkenes is CnH2n (two fewer hydrogens than the alkane)
The general formula for alkynes having one triple bond is CnH2n–2.
 
The four hydrogens must be removed from adjacent atoms. 
Thus the four blue hydrogens present in the linear C4 alkane are have been replaced by a triple bond in the  linear C4 alkyne.