Is there a function that is both even and odd?

Yes f(x)=0 is both even and odd