1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
void func(int n) { int i; int a[10]; for (i = 0; i < n; i++) a[i] = 2; } int main() { func(10); return 0; }