[Solved] Why does this Happen? (C programming Error)


The error is saying you didn’t provide a main() function. Looking at your code I see the following:

int main();

This is a function declaration not a definition. It looks like you’ve forgotten the curly braces around the body of your main() function.

I also see you keep putting a semicolon after the closing bracket of all your functions. This isn’t required and makes me wonder what terrible resource you’re using to learn C.

Edit:

Your fillWordsearch() function has unbalanced curly braces. It’s missing a } brace somewhere.

9

solved Why does this Happen? (C programming Error)