Suppose I have:

Code:
len = strlen(command)
and in another file, I have a function

Code:
 int (char array[]) {
How do I pass that strlen, without adding extra parameters to the function? I first did:

Code:
int (char array[len]) {
But that gave me undeclared variable error or something,

I was thinking of passing the strlen into a struct in the other file, but I'm not entirely sure on how to do that.