is it possible to access argv in function

C
void function(int argc, char *argv[])
{
    // whatever you want
}
Source

Also in C: