- 1

What is access specifier in C?

please let me know

4th Nov 2016, 7:49 AM
Ganesh Attarde
Ganesh Attarde - avatar
1 Odpowiedź
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]
4th Nov 2016, 9:50 AM
Ganesh Attarde
Ganesh Attarde - avatar