Re:Main is usually a function, so when is it not? (2015)
by hawski on Monday June 14, 2021 @02:27PM
(#27506290)
Time passed. How was the assignment graded?
[ Parent
| on HN ]
Re:Main is usually a function, so when is it not? (2015)
by labster on Monday June 14, 2021 @03:17PM
(#27506967)
If I was the TA in this class, I’d give it -5 (95 of 100) for “doesn’t compile on my 486, please write more portable code” just to screw with the student.
Re:Main is usually a function, so when is it not? (2015)
by Sebb767 on Monday June 14, 2021 @04:56PM
(#27508190)
In my university, it would've probably received full points; reason being that people who pull such shenanigans usually don't see "hello world" as a challenge - assuming, of course, the author could explain it.