In photoelectric effect, electrons will leave the metal surface when illuminated by light of appropriate frequency if the photon energy is
A
greater than the work function
B
less than the work function
C
equal to the work function
D
equal to the maximium kinetic energy of the electron