【c – 为什么在函数参数中使用静态变量声明函数在Windows中不是错误?】教程文章相关的互联网学习教程文章

c – 为什么在函数参数中使用静态变量声明函数在Windows中不是错误?【代码】

我正在阅读有关静态和其他说明符的文档 here,它说The static specifier is only allowed in the declarations of variables (except in function parameter lists ), declarations of functions (except at block scope), and declarations of anonymous unions. When used in a declaration of a class member, it declares a static member. When used in a declaration of a variable, it specifies static storage duration (...