- Return 0 from main() for successful exit, anything else by convention means some sort of error.
Why not just declare main return type to be void?
- Return 0 from main() for successful exit, anything else by convention means some sort of error.
Why not just declare main return type to be void?