In the above reaction, I remember reading that Br2 in CCl4 develops a partial polarity and adds on to the double bond, resulting in addition of Br on 2 adjacent carbons.
But, as per the text, the end product is a ester. (As given below)
Why is this the final product, and how to judge the products in cases like this?
Note - If I look at the answer and work backwards I would say that first Br+ attacks, and a carbocation is formed, on which hydroxy group attacks to form the final product. Is this right? And of it is then, why is this happening?