Given information:
Resistance of the resistor;

Current through the resistor;

According to Ohm's law, the potential difference is given as,

Substituting all known values,

Therefore, the potential difference across a 10 Ω resistor carrying a current of 2.5 A is 25 V.