I have the two following C++ main
function headers:
int main(int argc, char **argv)
int main(int argc, char** argv)
I know that the asterisk *
signifies a pointer, but I do not understand the difference between these two. The one I usually see is char **argv
, which, If I'm not mistaken, declares argv
to be a pointer to a pointer to a char. If so, then what is char** argv
?