Define a function $f : \mathbb{R}^{2} \rightarrow \mathbb{R} $ by
$$f(x, y) =\begin{cases}1 & \text{if $xy=0$} \\ 2& \text{otherwise} \end{cases}$$
If $S = \{(x, y): f \text{ is continous at point $( x, y)$}\}$, then set $S$ is
A. Open
B. Connected
C. Closed
D. Empty
As $f$ is not continuous on the axes and is continuous at all other points. So set $S \neq \phi$. But how do I choose between other options?