Possible Duplicate:
Is main() overloaded in C++?
here's my code:
#include <iostream>
int main(void* a, void* b)
{
std::cout << "hello standalone " << std::endl;
return 0;
}
different parameters should have a different symbol name after name mangling(void* a, void* b)
should be different from (int, char**
), but this program doesn't have any problem when running.
Why is that?