Vaibhav is right..the function is discontinuous at x=1,..in the interval [-1,1] since mod(x)<=1, so f(x)=1, however in the interval (1,infinity), f(x)=2x since mod(x)>1, so at x=1+, f(x)=2 and at x=1-, f(x)=1, so it is discontinuous at x=1, b is the right answer.
"I don't ride side-saddle. I'm as straight as a submarine"