Line 5: error: expected identifier or '(' before 'for'
Line 5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
Line 5: error: expected identifier or '(' before '++' token
Line 23: error: expected declaration specifiers or '...' before string constant
Line 23: error: expected declaration specifiers or '...' before 'sum'
Line 23: warning: data definition has no type or storage class
Line 23: error: conflicting types for 'printf'
t.c:24: note: a parameter list with an ellipsis can't match an empty parameter name list declaration