Can a function be const but not pure?

Thank you very much ! I will use local variables so ^^