$\text{int(q-p)}$ is pointer subtraction which subtracts the address of the pointer whereas $\text{int(*q-*p)}$ is also performs subtraction operation but it subtracts the values which are hold by pointer $*p,*q$
In the printf statement, the format specifier is $\%d$ which returns output in an integer from
So
$\text{int(q-p)} = \frac{\text{address of q} - \text{address of p}}{\text{sizeof(pointer))}} = \frac{2008-2000}{8}=\frac{8}{8}=1$
$\text{int(*q-*p)=int(25.0-20.0)=int(5.0)=5}$
Option $(B)$ is correct.