Let $\varepsilon > 0$ be given. Since $f$ is continuous at $c$, there exists $\delta > 0$ so that for all $x$ with $|x-c| < \delta$ we have $|f(x)-f(c)| < \varepsilon$.
Now also we have $a_n \to c$ and $b_n \to c$, so there exists $N \in \mathbb N$ so that for all $n \ge N$ we gave $c-a_n<\delta$ and $b_n - c< \delta$.
Fix $n \ge N$. Then for all $x \in [a_n,b_n]$ we have $|x-c| < \delta$. [Indeed, if $x<c$ then $a_n \le x \le c$ so $|x-c| < \delta$; and similarly if $x>c$. Finally, it is also true when $x=c$.] Thus, for all $x \in [a_n,b_n]$ we have $|f(x)-f(c)| < \varepsilon$. Compute
$$
\frac{1}{b_n-a_n}\int_{a_n}^{b_n} f(x)\;dx - f(c)
= \frac{1}{b_n-a_n}\int_{a_n}^{b_n} \big(f(x)-f(c)\big)\;dx <
\frac{1}{b_n-a_n}\int_{a_n}^{b_n} \varepsilon\;dx = \varepsilon
$$
and similarly
$$
\frac{1}{b_n-a_n}\int_{a_n}^{b_n} f(x)\;dx - f(c) > -\varepsilon
$$
Finally, then: for any $\varepsilon > 0$ there is $N \in \mathbb N$ so that if $n > N$ we have
$$
\left|\frac{1}{b_n-a_n}\int_{a_n}^{b_n} f(x)\;dx - f(c)\right| < \varepsilon .
$$
Note: we do not require continuity of $f$ everywhere, merely at the one point $c$.