Static variables can only be accessed in the files were they are declared.
Static variable within the scope of a function store it's values in consecutive calls of that function.
Static functions can only be called within the file they are defined.
Static variable within the scope of a function store it's values in consecutive calls of that function.
Static functions can only be called within the file they are defined.
No comments:
Post a Comment