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

1 thought on “Which of the following is correct about the first parameter of the main function?”

  1. d
    Explanation: 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.

Leave a Comment