On the "main function of command line parameters that form"

Users questions: The main function of unlawful command line parameters that form () A.main (inta, char * c []) B.main (intarc, char ** arv) C.main (intargc, char * argv) D.main ( i ntargv, char * argc) The last option should be the main (intargv, char * argc [])
Experts answer: landlord's last option was omitted "[]" should be D) main (intargv, char * arge []), Should choose C! main function of the first parameter is an integer variable, the second parameter is a pointer to an array, its elements point to character data.
  • This information provided by the users.Thanks!