I was asked the other day why it was a bug or problem that main() returned void instead of int. I had no clue other than when returning an int you get information about possible errors occurred during the program execution.
Can anyone provide more info on this?
Many thanx