Scope of static variable is within the file if it is static global. Scope of static variable is within the function if variable is declared local to a function.
But the life time is throughout the program
But the life time is throughout the program
No comments:
Post a Comment