Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
The integer return value was used as an index into the array of error messages that the operating system displayed. You picked the number used in your return statement based on what error message you wanted. The zero element was a null string so the OS could always print it.
22nd May 2018, 3:02 AM
John Wells
John Wells - avatar