0
I'd like to know the use of argv and argc
I have been seeing these for a long time now in C and C-related PLs, I don't really know the use and meaning. Can someone help me with that?
2 odpowiedzi
+ 1
You don't have to name them argv or argc because they are just names of arrays and the array is just the command line arument if given by user
0
You can read it here
https://en.cppreference.com/w/c/language/main_function