Concept:Continuity of a function is checked by comparing its left-hand limit, right-hand limit, and the value at the point.Explanation:For x=0, we write f(x)=xx−∣x∣ by splitting according to the sign of x.When x>0, we have ∣x∣=x, so f(x)=xx−x=0.When x<0, we have ∣x∣=−x, so f(x)=xx−(−x)=x2x=2.Also, it is given that f(0)=2.Thus, f(x)=⎩⎨⎧2,2,0,x<0x=0x>0.For x<0, f(x) is constant, so it is continuous there.For x>0, f(x) is constant, so it is continuous there.At x=0, the left-hand limit is limx→0−f(x)=2.The right-hand limit is limx→0+f(x)=0.Since the two one-sided limits are unequal, limx→0f(x) does not exist.Therefore, f is not continuous at x=0, but it is continuous for all other real numbers.Answer:f is continuous for all x except at x=0.Hence, the correct option is B.