The global variables are available to all the functions of a file.
Practice Declarations and Initializations –
The global variables are available to all the functions of a file. Is there any way to restrict the use of global variables by only some functions?