Step 1: Understanding the Concept
A function is continuous at 0 if the left limit, right limit and value are equal. It is differentiable if the left and right derivatives are equal.
Step 2: Continuity
Left limit: \(\lim_{x\to0^-}x=0\). Right limit: \(0\). Also \(f(0)=0\). So \(f\) is continuous at 0.
Step 3: Differentiability
Left derivative \(=\lim_{h\to0^-}\frac{h-0}{h}=1\). Right derivative \(=\lim_{h\to0^+}\frac{0-0}{h}=0\).
Step 4: Compare the options
The derivatives differ, so \(f\) is continuous but not differentiable. This is option (C).
Final Answer:
The function is continuous but not differentiable at x = 0.
\[ \boxed{\text{(C) }\text{continuous but not differentiable.}} \]