eolas/zk/Static_in_C.md
2026-01-12 18:12:53 +00:00

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.