Just out of curiosity this seems to work for me:
If I change COUNT_TO to 53 then the prog quits before getting input. Both should be errors, so why dosent my compiler complain about it?Code:#include <stdio.h> #define COUNT_TO 52 int main() { int i, a[10]; for(i=1; i<COUNT_TO; i++) { a[i]=i; printf("%i\n", a[i]); } getchar(); }