Main.cc: In function ‘int main()’: Main.cc:8:29: warning: operation on ‘i’ may be undefined [-Wsequence-point] for (i = 1; i <= 11; i=i++) ~^~~~ Main.cc: At global scope: Main.cc:15:9: error: expected unqualified-id before ‘return’ return 0; ^~~~~~ Main.cc:16:1: error: expected declaration before ‘}’ token } ^