Like so


int global; // lifetime of program, scope everywhere
static int local; // lifetime of program, scope is current source file
void foo ( ) {
static int bar; // lifetime of program,...