Possible Duplicate:
What does “static” mean in a C program?
What does the static
keyword mean in C ?
I'm using ANSI-C. I've seen in several code examples, they use the static
keyword in front of variables and in front of functions. What is the purpose in case of using with a variable? And what is the purpose in case of using with a function?