#define SIZE 10 static void foo() { char str[SIZE]; str[SIZE -1 ] = 'd'; str[SIZE] = 'd'; }