I wish to find out the class of compact sets in $\mathbb{R}$ which are supports of continuous functions.
To my solution I have an idea that the support will be finite union of closed and bounded sets in $\mathbb{R}$ but I am not sure about the answer and if it is correct then i have no explicit form to prove it. can anyone help me in doing so.