In C++, function main has special requirements, one of which is that it cannot be declared with any return type other than int.