int * const func() const

Learn about the `const` with return pointers.

What happens when both the function and the returned pointer are const, but the ...