In a p−n junction diode not connected to any circuit,
a. the potential is the same everywhere
b. the p-type side is at a higher potential than the n-type side
c. there is an electric field at the junction directed from the n-type side to the p-type side
d. there is an electric field at the junction directed from the p-type side to the n-type side