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:#include <stdio.h> int main() { int p = getchar(); int er = getchar(); er++ && p++; /* silence warnings */ return 0; }
If anybody knows the section in C89 where this is explained, please tell.