I am trying to make a function that accepts a string and an int and makes an array of that given string and that given int. Example, given string "myarray" and 5 should make an array `int myarray[5];` I use:

```
void function(string x, int y) {
    int x[y];
}

```

but that gives me `declaration of 'int x[y]' shadows a parameter`... Any tips?