If the condition says it is discontinuous at x=0, then your example is correct.
If the function is differentiable at x=0, then the function must be continuous at x=0.
Welcome questions!
Personal deeds of advanced teachers' morality 2000 words 1
Some people say, "winning the soul with your heart is