Is $A=(0,1]$ a closed or open set?
I think it's not an open set because it is not a subset of its interior points. Mainly, $1\in A$ but $1\not\in A^\circ$.
If A is closed, then the complement is open. However, the complement $A^c$ is not open because it is not a subset of its interior points. Mainly, $0 \in A^c$ but $0\not\in (A^c)^\circ$