尝试编译时的预期标识符

尝试在没有cs50 GetString的情况下执行cs50。 做新功能时卡住了。

该代码是

#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>

void PrintName(char name);

{
printf("Your name is %c\n", name);
}

int main();
{
char fio[10];

printf("Hello, ");

scanf("%c", &fio);

PrintName(fio);

return 0;
}

接下来说:

hello-0.c:9:1: error: expected identifier or '('
{
^
hello-0.c:14:1: error: expected identifier or '('
{
^

可能是什么?