1.

According to ANSI specifications which is the correct way of declaring main when it receives command-line arguments?

A. int main(int argc, char *argv[])
B. int main(argc, argv) int argc; char *argv;
C. int main() { int argc; char *argv; }
D. None of above
Answer» B. int main(argc, argv) int argc; char *argv;


Discussion

No Comment Found