可能重复:
What is useful about this C syntax?
C variable declarations after function heading in definition
What weird C syntax is this?的C语句
我想了解一些代码,它有类似如下:
int getr(fget)
FILE *fget;
{
/* More declarations and statements here */
return (1);
}
是否有上述之间的任何差别:
int getr(fget)
{
FILE *fget;
/* More declarations and statements here */
return (1);
}
如果是这样,他们是如何不同?
@保罗R.你是正确的,这是问题的一个副本。是否可以编辑该问题的标题更具描述性? – mgilson 2012-03-23 17:43:13