In function 'main':
Line 8: error: expected declaration specifiers or '...' before '*' token
Line 8: error: expected declaration specifiers or '...' before '*' token
Line 9: error: 'i' undeclared (first use in this function)
Line 9: error: (Each undeclared identifier is reported only once
Line 9: error: for each function it appears in.)
Line 8: warning: multi-character character constant
Line 14: warning: return makes integer from pointer without a cast
Line 14: warning: function returns address of local variable
Line 14: error: expected declaration or statement at end of input