exit-success

Two questions on main

A. Is the following attempt valid to define the entry point 'main' of a C++ standalone program? namespace{ extern int main(){return 0;} } As far as I understand, it satisifies all the criteria about 'main' in the C++ standard (external linkage, available in global namespace because of the implicit using directive). So is this progra...