can a function be both even and odd?
Forget (for the moment) that we are talking about functions and just consider the value y of f(x) at the point x.
As f is both odd and even y=f(x)=f(-x) and odd y=f(x)=-f(-x) and so:
y=-y.
Now what number/s (real or complex) is equal to minus times itself?
But this is true for every value taken by f.
CB