Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 K&R 中,它说声明函数原型(例如void foo();使用空参数列表)会关闭函数参数类型检查。这仅适用于foo还是适用于所有功能?
void foo();
foo
这仅适用于所讨论的功能,而不适用于全局。
它仅关闭对使用空参数列表声明的函数的检查,所有其他函数仍将被检查。