Top

Discussion

Which of the following is correct about the second parameter of the main function?

  • A.Second parameter is an array of character pointers
  • B.First string of the list is the name of the program’s output fle
  • C.The string in the list are separated by space in the terminal
  • D.All of the mentioned

Answer: D

All of the statements about the second parameter is correct. It is the collection of character pointers which of which the first represents the name of the program file.

No comment is present. Be the first to comment.
Loading…

Post your comment