Potentiometer is used to:

Detect internal resistance of cells.

All of these.

Measure P.D.

Compare emf of two cells.