Yesterday when responding to this question wanted to test it on Ideone, while running the code I received this error:
prog.c: In function 'main': prog.c: 12: 9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int i = 0; i