Actieve werkgever
How do you declare global variables in multiple files?
Anoniem
One can use 'extern' keyword to share variables across different files.
Simply add the variables in a header file and include the header file in all the c file which wants to access those global variables.
Volg de bedrijven van je dromen om als eerste op de hoogte te zijn van vacatures en te profiteren van tips van insiders.
Zoek naar vacatures om gepersonaliseerde vacature-aanbevelingen en -updates te krijgen.