What is the difference between static global and non-static global identifier in C++?

Static limits the scope of the variable to the same translation unit.
A static global variable has internal linkage.
A non-static global variable has external linkage.

Good Read:
What is external linkage and internal linkage?

Leave a Comment

techhipbettruvabetnorabahisbahis forumueduedusedusedusedueduedueduedusedus