12 lines
268 B
Markdown
12 lines
268 B
Markdown
---
|
|
tags:
|
|
- C
|
|
---
|
|
|
|
`static` signals that the variable is private to the file it appears in. It
|
|
cannot be accessed from outside of it.
|
|
|
|
The opposite to a global variable.
|
|
|
|
Using `static` prevents naming conflicts if you have another file with the same
|
|
variable name.
|