Use either malloc()/ free()(or new[]/ delete[]for C ++), or a global array, or a local static array. If you try to create a non-static array inside a function, it will be allocated on the stack, and the stacks are usually not very large.
; , , x86 , .