To find the total number of animals in the pet shop, we can use the information that 25% of the animals are rabbits and that there are 12 rabbits.
Let \( x \) be the total number of animals in the pet shop.
Since 25% of the animals are rabbits: \[ 0.25x = 12 \]
To find \( x \), we solve for \( x \): \[ x = \frac{12}{0.25} \]
Calculating: \[ x = 12 \div 0.25 = 12 \times 4 = 48 \]
So, the total number of animals in the pet shop is 48.
Thus, the correct response is 48.