3 ms·
void fun(int mandatory_arg, int optional_arg1 = 1, int optional_arg2 = 12, int optional_arg3 = 12); No, this isn't legal ISO C. There are ways to simulate them
by cremno 12y ago
void fun(int mandatory_arg, int optional_arg1 = 1, int optional_arg2 = 12, int optional_arg3 = 12);
No, this isn't legal ISO C. There are ways to simulate them though: https://gustedt.wordpress.com/2010/06/03/default-arguments-for-c99/ https://gustedt.wordpress.com/2010/06/03/default-arguments-f...
- matt42 12y agoMy mistake, I just fixed the readme.