The correct option is
C R=rIf the emf of each cell be E, then for parallel connection, equivalent emf is
Eeq=E1r1+E2r2+....1r1+1r2+....=Er+Er+....1r+1r+.....=E
And equivalent internal resistance of the cells, req=rn
So net current in parallel connection is
Ip=Eeqreq+R=Ern+R
And for series connection of cells, eqv emf , Eeq=E1+E2+...=nE
and equivalent internal resistance for series, req=r1+r2+....=nr
So current ,Is=Eeqreq+R=nEnr+R
Now according to question, both the currents are equal.
So, Ip=Is reduces to Ern+R=nEnr+R which gives R=r