Both 'int main()' and 'int main(int argc, char *argv[])' are valid declarations for main() in C and C++. The first is for programs without command-line arguments, the second for programs that need to process command-line arguments. Both are standard and correct.