|
In addition, add a parameter to indicate the size of the array, try it:
void fun (char * in, char * out, int n)
-----------------------------------
I know I need to add a parameter to indicate the size of the array, but how to use it? I did n’t know the size of the out array before, so there was no way to initialize it, so how to pass parameters? |
|