Top

Discussion

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

  • A.First argument is of int type
  • B.Stores the count of command line arguments
  • C.First argument is non-negative
  • D.All of the mentioned

Answer: D

All of the statements about the first parameter is correct. The first parameter is of non-negative integer type and stores the count of command line arguments.

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

Post your comment