The static keyword is used in C to restrict the visibility of a function or variable to its translation unit.
In the context of C programming, the static keyword is used to regulate the accessibility of functions and variables, thereby limiting their visibility to a single compilation unit.