call of overladed error message

I'm getting the following error message from the code below,

"call of overloaded 'println(int [sl])' is ambiguous"

I'm sure it's a simple syntax error but I don't know how to address it.

int sl = 10;
int seed = 1;


void setup() {
  // put your setup code here, to run once:
  randomSeed(seed);
  Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
  int scramblenumbers[sl];

  for (int x = 0; x <= sl; x + 1){

    scramblenumbers[x] = random(1, 18);
  }

   Serial.println(scramblenumbers);

   delay(999999999);
}
// l, l', l2, r, r', r2, u, u' u2, d, d', d2, b, b', b2, f, f', f2

You can't pass an array to print.

If you want to print every element, you need to loop over the array and print every element, eg:

for (int i=0;i<sl;i++) {
Serial.print(scramblenumbers)[i];
Serial.print(",");
}

Also, using an extremely long delay like that to end the program is stupid. If you only want it to run once, put the code in setup(), not loop().

DrAzzy:
You can't pass an array to print.

...except, of course, when the array is a char array, and a valid C string. When you can.