How to determine the maximum possible number of elements n
in an array, with this declaration: int array[n];
I read somewhere that depends on the compiler, I have MinGW 4.9.1 32bit
- oneDepends on stack size. In Windows, the standard is 1Mb, but it can be increased (as I don’t remember) to 4, in my opinion. - Alexey Sarovsky
- onestackoverflow.com/questions/216259/… right here is in English. And then: stackoverflow.com/questions/12488477/maximum-size-of-int-array - ddipp
- Not defined. No need to allocate large arrays on the stack. - Abyx 5:56 pm
|