Hacker News new | ask | show | jobs
by ludocode 1020 days ago
That's only in C++. As far as I know in C you need to name all parameters (although maybe that rule has been relaxed in newer versions of C.)
1 comments

C23 finally relaxes that rule:

https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2510.pdf

(although some C compilers already allowed it in non-pedantic mode)