4 ms·
My main concern with reading C code, is global variable everywhere, or am i missing something ?
by revskill 4y ago
My main concern with reading C code, is global variable everywhere, or am i missing something ?
- wolf550e 4y ago`static` variables are file-scoped, similar to module-scoped in other languages. Truly global variables are accessible from any file. Those should be very rare.