Argument Vector argv - It is an array of character pointers

Q.  C programming: Which of the following is TRUE about argv?
- Published on 24 Jun 15

a. It is an array of character pointers
b. It is a pointer to an array of character pointers
c. It is an array of strings
d. None of above

ANSWER: It is an array of character pointers
 
argv stands for 'argument vector'. Vector is a one dimensional array and argv is a one dimensional array of strings.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)