Function $f(x)$ whose value is the same as its derivative for a constant [closed]

Can we construct a function $$f(x)$$ such that for every $$x$$

$$f(x) =c$$

and

$$f'(x)=c$$

What would be an example of such a function?

closed as off-topic by Saad, Brahadeesh, Cesareo, ancientmathematician, Claude LeiboviciSep 27 '18 at 11:52

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Saad, Brahadeesh, Cesareo
If this question can be reworded to fit the rules in the help center, please edit the question.

• For all $x$?... – Randall Sep 27 '18 at 1:23
• The derivative of a constant function is identically zero. – dxiv Sep 27 '18 at 1:24
• Well no: the derivative of a constant is $2 \neq 0$. – Randall Sep 27 '18 at 1:24

If a function is identical to a constant, then it's derivative is $$0$$. So the only such function would be $$f(x)=0$$ since $$f'(x)=0$$ also.