Por que retornar 0 em int main

//So return 0 just give command to compiler that here code end ...
int main()
{
    cout<<"Yes";//->this will print as its before return 0 written.
    return 0;
    cout<<"Nope";//->this will not print as its after return 0 written.
}
Anmol_Verma_404