×

Loading...

Thank you for your commnets. To discuss more precisely ...

Thank you for your commnets.
To discuss more precisely.
The scope of a global variable will not change after a "static" key word is applied. But its linkage changes from external to internal after a "static" key word is applied. Scope and linkage are closely related but different concepts in C++.
I think that a programmer should make efforts to pay attention to details and think precisely.
Report

Replies, comments and Discussions: