Line 4: warning: data definition has no type or storage class
Line 5: warning: data definition has no type or storage class
Line 6: warning: data definition has no type or storage class
Line 7: error: initializer element is not constant
Line 8: error: expected declaration specifiers or '...' before string constant
Line 8: error: expected declaration specifiers or '...' before 'sum'
Line 8: warning: data definition has no type or storage class
Line 8: error: conflicting types for 'printf'
t.c:9: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
Line 9: error: expected identifier or '(' before 'return'
Line 10: error: expected identifier or '(' before '}' token