It's continous from to itself (just use in the definition of continuity), hence also continuous when restricted to any subset. So the answer is "yes, it's continuous".Originally Posted byvms

On the other hand, in response to Ene Dene's post, if f(x) is defined as constant c for all real , then f is continuous at x=conly.