Can we have two main() functions in a C++ program?
main()
Yes! Why not?
Consider the following code:
namespace ps { int main(){return 0;} } int main() { ps::main(); }
Its ::main() that will be called during execution.
::main()