Let $X$ be a locally compact Hausdorff space. As far as I understand, the space $C_c(X) = C_c(X; \mathbb{C})$ of compactly supported continuous complex-valued functions on $X$ is (most?) often topologized as the limit of the spaces $C_K(X)$, where $$C_K(X) := \{ f\,\colon X \to \mathbb{C} \text{ continuous}, \, \mathrm{supp}(f) \subseteq K \}$$ and $K$ ranges over the compact subsets of $X$. However, it would also seem somewhat natural to consider $C_c(X)$ as a subspace of the space $C(X) = C(X; \mathbb{C})$ of all continuous complex-valued functions on $X$, which carries its own natural topology, namely the compact-open topology. My question is: are these two topologies secretly the same? (A reference would be great, but a sketch of an argument would of course also do.)
Also on this note, let $\mu$ be a nonzero Radon measure on $X$ (by which I mean a countably additive positive measure defined on the Borel-$\sigma$-algebra of $X$, finite on compact sets, inner regular on open sets and outer regular on Borel sets; the case I'm ultimately interested in is: $X = G$ is a locally compact group and $\mu$ is Haar measure). Then I'm given to understand that $C_c(X)$ is a dense subspace of $L^2(X) = L^2(X, \mu; \mathbb{C})$. Does the subspace topology coming from the inclusion $C_c(X) \hookrightarrow L^2(X)$ agree with either of the two topologies mentioned above? I cannot seem to find an answer, either by myself or with the help of a search engine, but this sounds like something which should be well-known (or maybe it's trivially true/false and I'm just not seeing it).