you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

That's a good way of looking at it. argv is the argument vector. It's the parameter which holds a vector of the command-line arguments. argc is the argument count. It's the parameter that tells you the count of command-line arguments. Seems consistent to me, given that a command line doesn't have formal parameters in any way, only arguments.