Any idea on which rule in standard states the statements like this:
p++; //where \'p\' is pointer to array
cannot appear in global scope? <
By saying "statements like this" I guess you know that/why statements in general cannot be in global scope.
p++;
Is a statement because it basically is translated into:
p = p + 1;
Which is a normal statement.