Choose the halogen which is most reactive towards reaction in the given compounds (A, B, C and D) [2023]

(1)
The reactivity of halogen for reaction depends upon stability of carbocation:
A – Phenyl carbocation
B – Allyl carbocation
C – 3° – carbocation
D – 3° – carbocation