Last Friday of each month: Difference between revisions
→{{header|C}}
Line 23:
=={{header|C}}==
{{incorrect|C|<code>./last_fridays 2011</code> gives thursdays instead of fridays}}
<lang c>#define _XOPEN_SOURCE
#include <stdio.h>
Line 49 ⟶ 51:
return 0;
}</lang>
=={{header|C++}}==
called with <code>./last_fridays 2012</code>
|