为什么这个带有整数声明的代码在中间(在函数定义之间)没有抛出错误?
1)为什么它在语法上是正确的。
2)这样做有什么用。?
#include <stdio.h>
void func(int, int);
int main()
{
int a, b;
a = 10;
b = 20;
func(a, b);
return 0;
}
void func(i, j)
int i,j; //why does this doesn't throw error.
{
printf("a = i = %d\nb = j = %d\n", i, j);
}