I thought that you couldn't mix code with declarations, but this compiles with no warnings. But when you put in a standalone function in between the declarations, then it does. Why is this?Code:
int p = getchar();
int er = getchar();
er++ && p++; /* silence warnings */
If anybody knows the section in C89 where this is explained, please tell.