Benzene reacts with CO and HCl in the presence of CuCl to give benzaldehyde (x) via the Gattermann-Koch reaction.
Benzene reacts with ethanoyl chloride (CH3COCl) in the presence of anhydrous AlCl3 to give acetophenone (y) via Friedel-Crafts acylation.
Heating benzaldehyde (x) and acetophenone (y) in the presence of alkali results in a crossed aldol condensation to form benzalacetophenone (z).
C6H5CHO+CH3COC6H5OH−,ΔC6H5−CH=CH−CO−C6H5+H2O
The structure of z (C6H5−CH=CH−CO−C6H5) contains two phenyl rings (6 π bonds), one C=C double bond (1 π bond), and one C=O double bond (1 π bond).
Total number of π bonds = 6+1+1=8
Total number of π electrons = 8×2=16
Answer: 16