The correct answer is that the scope of that variable do not change.
Its scope remains file scope. Zack's answer confused concept of "scope" with concept of "linkage", and concept of "local duration" with concept of "dynamic duration" in C++ language.
This post has been archived. It cannot be replied.