The function f : R → R, f(x)=x^2 is A. injective but not surjective B. surjective but not injective C. injective as well as surjective D. neither injective nor surjective