<u>Answer:</u> The correct answer is Option B.
<u>Explanation:</u>
Exothermic reaction is defined as the reaction in which heat is released to the surroundings from the system. The total enthalpy change of the reaction comes out to be negative.
Endothermic reactions are the ones where heat is absorbed from the surrounding by the system. The total enthalpy change of this reaction comes out to be positive.
For the given options:
<u>Option A:</u> When ammonium nitrate is added in the water to cool it, the heat is getting absorbed. Then only the water is getting cooled. Thus, it is considered as an endothermic reaction.
<u>Option B:</u> Condensation is a process in which gaseous state changes into liquid state. The temperature of the system gets reduced and thus heat is getting released in this process. Thus, it is considered as an exothermic reaction.
<u>Option C:</u> Melting is a physical process in which solid state is converted into liquid state. To do this, heat must be provided to separate the particles from one another. Thus, it is considered as an endothermic reaction.
<u>Option D:</u> When sugar is dissolved in water, heat is provided so that it gets completely dissolved. Thus, it is considered as an endothermic reaction.
Hence, the correct answer is Option B.