Answer: A
Adding HX+ to a terminal carbon leaves the charge on C2, adjacent to the remaining C=C, so it is allylic and resonance stabilised: CHX3−CHX+−CH=CHX2 and CHX3−CH=CH−CHX2X+. Adding HX+ to C2 would give a primary cation without conjugation.