Lifetime

Global variables, and local variables declared with the static keyword, exist for the lifetime of the program. Other local variables are “automatic;” they come into being when the function starts and evaporate when it ends.