(i)
2−Chloro−3−methylbutane (Secondary alkyl halide)
(ii)
3−Chloro−4−methyhexane (Secondary alkyl halide)
(iii)
1−Iodo−2,2−dimethylbutane (Primary alkyl halide)
(iv)
1−Bromo−3,3−dimethyl−1−phenylbutane (Secondary benzyl halide)
(v)
2−Bromo−3−methylbutane (Secondary alkyl halide)
(vi)
1−Bromo−2−ethyl−2−methylbutane (Primary alkyl halide)
(vii)
3−Chloro−3−methylpentane (Tertiary alkyl halide)
(viii)
3−Chloro−5−methylhex−2−ene (Vinyl halide)
(ix)
4−Bromo−4−methylpent−2−ene (Allyl halide)
(x)
1−Chloro−4−(2−methylpropyl) benzene (Aryl halide)
(xi)
1−Chloromethyl−3−(2,2−dimethylpropyl) benzene (Primary benzyl halide)
(xii)
1−Bromo−2−(1−methylpropyl) benzene (Aryl halide)
A compound (A) with molecular formula $C_4H_9I$ which is a primary alkyl halide, reacts with alcoholic KOH to give compound (B). Compound (B) reacts with HI to give (C) which is an isomer of (A). When (A) reacts with Na metal in the presence of dry ether, it gives a compound (D), C8H18, which is different from the compound formed when n-butyl iodide reacts with sodium. Write the structures of A, (B), (C) and (D) when (A) reacts with alcoholic KOH.