Also, have you noticed how we've finished main() with return 0; in some lessons?

The int keyword before main() specifies that it's supposed to return an int-type value.

Great! When we return a 0, we tell the operating system that the program was successfully run. If we don't return a value, the program returns 0 by default.

Is that really an int-type value?