Friday 29 August 2014

C Programming Static Variable

"""
  1. A static variable inside a function keeps its value between invocations.
  2. A static global variable or a function is "seen" only in the file it's declared in. 
"""
Cited from What does “static” mean in a C program?

No comments:

Post a Comment