There’s shouldn’t be a semicolon in the int main(void);
declaration.
Try replacing line 4 with: int main(void)
instead.
Also, please read up on C function declaration syntax
https://msdn.microsoft.com/en-us/library/c4d5ssht.aspx.
solved How can I detect my coding mistake when I receive this message [closed]