top | item 46815325 (no title) few | 1 month ago And their code example doesn't actually return a value! discuss order hn newest Davidbrcz|1 month ago For main it's explicitly allowed by the standard, and no return is equal to return 0 direwolf20|1 month ago which is super weird. If they can tell the compiler to allow no return, only for main, they can also tell it to pretend void return is int return of 0, only for main. GrowingSideways|1 month ago [deleted]
Davidbrcz|1 month ago For main it's explicitly allowed by the standard, and no return is equal to return 0 direwolf20|1 month ago which is super weird. If they can tell the compiler to allow no return, only for main, they can also tell it to pretend void return is int return of 0, only for main. GrowingSideways|1 month ago [deleted]
direwolf20|1 month ago which is super weird. If they can tell the compiler to allow no return, only for main, they can also tell it to pretend void return is int return of 0, only for main.
Davidbrcz|1 month ago
direwolf20|1 month ago
GrowingSideways|1 month ago
[deleted]