If you feed your favourite compiler (I am using
GCC
here) with
int main()
{
int i;
for(i; delay>0; delay--)
{
for(i =0; i<3195;i++)
}
return 0;
}
then you get an output similar to
program.c: In function ‘main’:
program.c:4:2: warning: statement with no effect [-Wunused-value]
4 | for(i; delay>0; delay--)
| ^~~
program.c:4:9: error: ‘delay’ undeclared (first use in this function)
4 | for(i; delay>0; delay--)
| ^~~~~
program.c:4:9: note: each undeclared identifier is reported only once for each function it appears in
program.c:7:2: error: expected expression before ‘}’ token
7 | }
| ^
That, I dare say, it is pretty informative.