Since f(x) is differentiable for all x∈(0,10), then f(x) is also continuous for all x∈(0,10). If f(x) were continuous on the closed interval [0,10], then the MVT would guarantee f′(x)=10−0f(10)−f(0)=1 for some c∈(0,10); however, this is not the case. So, it must be that f(x) is continuous for all x∈(0,10), but not for all x∈[0,10].
Since f′(c)=0 for c∈(0,10), that means f is constant on that interval. So, f(x) is a function like this:

where the height of the constant function can be anything.
So, one possible answer is f(x)={010x=10x=10.