Define variable in a block
#include <stdio.h> main() { int k = 10; int i = 100; { int i; for(i = 0; i < 2; i++ ) { printf("i = %d\n",i); } } printf("i = %d\n",i); }