I have a program that can accept command-line arguments and I want to access the arguments, entered by the user, from a function. How can I pass the *argv[], from <
*argv[]
Just pass argc and argv to your function.
argc
argv