I was saying that you don't need to be a "brogrammer" (gag) to not know that main() in C returns an int. There are plenty of other languages out there that one can be very conversant in without knowing one random bit of trivia about one first introduced in the early '70s.
One could say all 3 posters were a bit at fault here, really:
1) HeckRuler's code, while syntactically valid, returns the number of characters in the string, not 0 for success, which is rather misleading.
2) dimeglio thought it was a stupid mistake, which I'm sure was an honest mistake on his part because he doesn't know about the C standard. Which I can't blame him much for.
3) The A.C. just flamed him. Well, at least he included a period at the end of the sentence.
4) You and I are arguing about whether it's reasonable to expect J Random Programmer to know a tidbit about C that the compiler will almost certainly warn you about anyway. As someone who knows C++ and x86 assembly (the basics, anyway), I find your choice of where to draw the line that delimits a n00b too arbitrary for my tastes. But I'm splitting hairs again, so go figure...