I'm trying to take 2 filenames as arguments in my C program, then pass the second argument to another function, which does nothing to it but then passes it on to another function.
I'm starting the program using
Passing it to another function withCode:int main(int argc, char *argv[])
which takes it...Code:f1(argv)
passing it to another function withCode:f1(char *argv[]
which collects it withCode:f2(argv)
Code:f2(char *argv[])
When I try and compile, it says I'm passing an incompatible pointer type. What am I doing wrong?