Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cianlr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
cianlr
9y ago
You mention that main not having a return statement is undefined behaviour. While this would be true for most functions the main function is actually a special case. If you check section 5.1.2.2.3 - Program termination of the standard doc y