The IUPAC name of the compound CH3-CH=CHCH=CHC=CCH3 is:
4, 6-octadien-2-yne
2,4-octadien-6-yne
2-octyn-4,6-diene
6-octyn-2,4-diene
Between double bond and triple bond double bond is preferred.Hence, the correct answer is (B).