>>175
その場合実行時にコピーするコストが掛かるので、
普通は
static int a[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, };
或いは固定値でいいなら
static const int a[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, };
とする。