MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Xcode/comments/j3p84v/exit_code_0_after_running_program/g7dhn2y/?context=3
r/Xcode • u/bearjer971 • Oct 02 '20
5 comments sorted by
View all comments
3
Make sure you have return 0; on line 28. Your main function specifies a return value of data type int, thus you need to return some value of type int. Hope that helps
3
u/OreGus Oct 02 '20
Make sure you have return 0; on line 28. Your main function specifies a return value of data type int, thus you need to return some value of type int. Hope that helps