This question is a subproblem of the A map is continuous if and only if for every set, the image of closure is contained in the closure of image.
I am not able to come up with any example of a continuous function s.t. $f(\overline{A}) \subsetneq \overline{f(A)}$. Can anyone give such an example?