3 ms·
main and argc are declared as int (technically auto int) by default. argv is declared and given its type between the function head and the function block, which
by boomlinde 9y ago
main and argc are declared as int (technically auto int) by default. argv is declared and given its type between the function head and the function block, which is perfectly legal but quite unusual these days
This syntax is probably nice if you use a line oriented editor like ed
- dreta 9y agoI was mostly talking about the odd re-declaration of argv. Everything else is quite clear.