Can 2 functions be equal for a continuous range?

I've been wondering this for a while. Given two C-infinity functions f(x) and g(x) such that f(x) != g(x), is it possible for f(x) = g(x) for some continuous range (a, b)?

Basically, I first wanted to know if it was possible for any functions, then realized that there are cheap ways out like absolute value functions and defining the function to be different for different ranges. That's why I'm asking specifically about C-infinity functions (all derivatives, and derivatives of derivatives, and so-on are continuous).