Suppose I have:
and in another file, I have a functionCode:len = strlen(command)
How do I pass that strlen, without adding extra parameters to the function? I first did:Code:int (char array[]) {
But that gave me undeclared variable error or something,Code:int (char array[len]) {
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.