A wire is stretched under a force. If the wire suddenly snaps, the temperature of the wire
The work done on the wire to produce a strain in it will be stored as energy which is converted into heat, when wire snaps suddenly
Due to this the temperature increases