When heat is given to the substance, the separation between the molecules of the substance increases and they set themselves by occupying the more space, hence in fig (a) distance between a and b will increase. In the fig (b) the radius of the cavity will also increase and, in fig. (c) the space between two cavities, i.e., a and b also increases.