The bond between carbon atom (1) and carbon atom (2) in compound
N≡C(1)−C(2)H=CH2, involves the hybrid orbitals:
N≡C(1)−C(2)H=CH2, involves sp and sp2 hybrid orbitals.
Carbon(I) has 2σ and 2π- bond forming sp hybridization having linear shape.
Carbon(II) has 3σ- and 1π-bond forming sp2 hybridization having trigonal planar shape.