According to ANSI specifications which is the correct way of declar

Loading

Choose the correct option.

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

Leave a Comment