d
When p-type and semiconductor are joined, the electrons in \(n\) type diffuse into the p-type across the junction whereas holes in p-type diffuse into the n-type across the junction to form a depletion layer. Thus in the depletion layer of p-n junction diode, both electrons as well as holes are present.