Why does the loop below not set the pinMode to OUTPUT for the pins in the array pins[]?
int pins[21];
void setup() {
    int pins[] = {13,
              3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
              14, 15, 16, 17, 18, 19, 20, 21, 22, 23};
    for (int i = 0; i < sizeof(pins); i++) {
        pinMode(pins[i], OUTPUT);
    }
}
To get it to work, I have to set them manually:
pinMode(3, OUTPUT);    
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
// ...
 
     
     
     
     
     
    