
To solve the problem, we need to determine the point where the galvanometer shows zero deflection. This point is known as the null point in a potentiometer setup. In this condition, there is no potential difference across the galvanometer, and it reads zero.
Thus, the length AP is 30 \, \text{cm}.

Therefore, the correct answer is 30 cm.