main()
allows you to call main with any number of parameters. main(void)
forces you to call main with no parameters. So:
main(foo, bar);
Is fine with main()
but not with main(void)
- the compiler generates an error.
Now if you're specifically asking about the program's entry point, it doesn't really make a difference; in either case, you won't have the arguments to the program (argc, argv, envp) available.