C language error: expected declaration or statement at end of input

Expected Declaration or statement at end of Input

May be wrong:
1. A function or variable is not declared before it is used.
2. A parenthesis is missing somewhere.

Read More: