CH₃−CH|Cl−CH₂|OH
H₃C−CH|OH−CH₂|Cl
Cl⁺ reacts as the electrophile so the C−O bond forms at the more stable cation center. In the given structure, the secondary carbocation (+ve charge at the middle carbon) is more stable; hence the −OH group is attached to the 2nd carbon.