Two cells each of emf E and internal resistance r1 and r2 respectively are connected in series with an external resistance R. The potential difference between the terminals of the first cell will be zero when R is equal to
(A) r1 + r2/2
(B) √r12 - r22
(C) r1 - r2
(D) r1r2/r1 + r2