3 ms·
That was the standard way of declaring parameter types until ANSI C in 1989. C actually copied the current style back from C++.
by enf 13y ago
That was the standard way of declaring parameter types until ANSI C in 1989. C actually copied the current style back from C++.
- _kst_ 13y agoANSI C didn't drop old-style (non-prototype) function declarations and definitions -- nor did C99 or C11. They've been officially obsolescent since 1989, but they're still fully supported by any conforming compiler.