Hi, guys, and thanks in advance for helping me with this. I'm following a tutorial online about introductory C programming and there's a video on functions. Now I copied exactly what the guy said but, inexplicably, I'm getting an error message! Now the only difference is that he's using code blocks 13.01 and I'm using 16.01. I have no idea what I'm doing wrong!?? The exact code is:
#include <stdio.h>
#include <stdlib.h>
void MyFunctionName();
int main()
{
MyFunctionName();
}
void MyFunctionName();
{
printf("sum=%d\n", 10+52);
prinf("We are inside a function\n");
}
The error message stops next to the third curly bracket and the error message is as follows: error: expected identifier or '(' before '{' token
Now this must be some kind of very solution but what could I possibly be doing wrong??