int argc, char* argv[]
as the parameters for multiple functions? Say, an int main(int argc, char* argv[])
and a function called inside of main
(using different names for the arguments), like int func(int argc2, char* argv2[])
? What would be required to do something like this?
|
|
argc
and argv
are just function parameters like any other, and you can treat them as such in your code.
|
|
|
|