Answer
(a) $2$
(b) $1$
(c) Does not exist.
Work Step by Step
(a) Graph the functions as shown, as $x\to0^-, f(x)\to 2$, thus $$\lim_{x\to0^-}f(x)=2$$
(b) As $x\to0^+, f(x)\to 1$, thus $$\lim_{x\to0^+}f(x)=1$$
(c) Because $$\lim_{x\to0^-}f(x)\ne \lim_{x\to0^+}f(x)$$, $$\lim_{x\to0}f(x)$$ does not exist.