Suppose that $f: \mathbb{R}^n\setminus\{0\} \to \mathbb{R}$ is differentiable. Assume $\lim\limits_{x \to 0}\frac{\partial f}{\partial x_j}$ exists for each $j \in \{1,2,\dots,n\}$.
Can $f$ be extended to a continuous function on $\mathbb{R}^n$? Furthermore, if we assume continuity at the origin, is $f$ differentiable on $\mathbb{R}^n$?
I can't really come up with counter examples or a proof for either questions. For the second question, I know that if $n =1$, $f$ can be extended to a differentiable function (a L'Hopitals argument), but is this true in general?