2008/5/8 Koroskin Denis <2korden at gmail.com>:
> That's not a dynamic allocation, i.e. you cannot do like this:
>
> void foo(int i)
> {
> int[i] array;
> }
>
> And I don't know of any language, that could do that.
C99.
http://www.comeaucomputing.com/techtalk/c99/#variablelengtharrays