Category Archive for "Return Value"

What should main() return in C and C++?

The main() function is the entry point of a C or C++ program. It is the first function that is called when the program starts execution. The main() function can have different retu...