The correct option is A HI>HBr>HCl>HF
When alcohols react with halogen acids, alkyl halides are formed. Generally, reaction takes place via SN1 mechanism.
In the first step protonation of alcohol takes place. In the second step carbocation is formed. In the third step attack of nucleophile occurs.
As we know, fluorine is the most electronegative element, so HF bond will be stronger and formation of F− from HF will be difficult. The electronegativity order is as follows:
F>Cl>Br>I. Hence I− will release easily from HI. Hence, the correct order of reactivity will be HI>HBr>HCl>HF which is option (a).