Variable Length Array in C99

Variable Length Array in C99

헐.. C99에서는 이게 되는거였다.

The following C function allocates a variable-length array of a specified size, fills it with floating-point values, then passes it to another function for processing. Because the array is declared as an automatic variable, its lifetime ends when the  read_and_process function returns.

Leave a Reply