Computer Science, asked by bhaskarvijay962, 10 months ago

What does argc and argv indicate in command-line arguments?(Assuming: int main(int argc, char *argv[]) ) *
argument count, argument variable
argument count, argument vector
argument control, argument variable
argument control, argument vector
None of these

Answers

Answered by durralee02
1

Answer:

The name of the variable argc stands for "argument count"; argc contains the number of arguments passed to the program. The name of the variable argv stands for "argument vector". A vector is a one-dimensional array, and argv is a one-dimensional array of strings.

Explanation:

Answered by StaceeLichtenstein
1

argument count, argument vector is the correct answer to the given question .

Explanation:

  • In the java programming language the int argc, providing the number of parameter of command line it simply specifying the number of count in that string which is passed in running the program .
  • The *arv is a pointer array in the parameter of command line it simply as vector of argument i.e argument vector .So argv is pointer array of single dimensional  vector.

Learn More :

https://brainly.in/question/914648

Similar questions