可能重複:
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