Upgrade subject to access all content

Find the value of $c$ that makes $f(x)$ continuous at $x=2$:

$$ f(x) = \left\{ \begin{array}{ll} x^2+c & x \leq 2 \\\ 2x-1 & x > 2 \end{array} \right.$$

$\sqrt{3}$

$1$

$-1$

$0$