请问一下关于函数声明和定义的问题。

int a(void);int b(void);
int a(void)

.......

void b(void)

......

请问这两种定义方式有什么区别?

函数在执行代码前,可以不声明,在执行代码后,则需要先声明