A space $X$ is said locally compact if for any $x\in X$ and for any neighbourhood $U$ of $x$ there is a compact neighbourhood $V$ such that $V\subseteq U$.
Does closed subset of locally compact is locally compact?
My friend said that $\{1/n : n \in\mathbb{N}\} \cup \{0\}$ subset of $\mathbb{R}$ is not locally compact. Is it true?