Listing 5 Defining a local function within the function
void main(void) { int i = 10; printf("i: %d\n", i); { int i = 100; /* This statement is fine since it is akin to defining a local function within the function. */ printf("i: %d\n", i); } printf("i: %d\n", i); }