error: expected declaration or statement at end of input

C
/*Normally that error occurs when a } was missed somewhere in the code*/
Source

Also in C: