For the following program, some compilers execute it with a warning
3:5: warning: 'int main(int)' takes only zero or two arguments [-Wmain]
and some without any. Can I use main() with one argument?
#include <iostream>
int main(int x)
{
x = 5;
std::cout << x;
return 0;
}