Using the definition of continuity, we need k=x→0limf(x). Since the limit is blind to what actually happens to f(x) at x=0, this is equivalent to k=x→0limxsin(x1). So if we find the limit, we solve the problem.
For any nonzero value of x, −1≤sin(x1)≤1. So if we multiply x by sin(x1), the magnitude (absolute value) of x either stays the same or gets closer to 0. Since x is already approaching 0, x→0limxsin(x1)=0.
So, when k=0, the function is continuous at x=0.