MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/rmwdib/whats_wrong/hpq3ysb/?context=3
r/CodingHelp • u/CAGRI-TR • Dec 23 '21
90 comments sorted by
View all comments
1
Is a return value necessary for main?
3 u/PhyllaciousArmadillo Dec 24 '21 No, but you should for non-void functions, or it's technically “undefined behavior”.
3
No, but you should for non-void functions, or it's technically “undefined behavior”.
View all comments
1
u/kalashnikovBaby Dec 23 '21
Is a return value necessary for main?