- 1
What is access specifier in C?
please let me know
1 Réponse
0
dear you can use static as a access specifier.
eg
static int a;
where a is global variable in that .c file.
now this variable a is not accessible in other .c file [we can access global varible using extern keyword but when global variable is declared using static, its scope is only limited to only one .c file]