hi, variable sized automatic arrays are allowed in ISO C99 standards and gcc allows them in the C89 mode as an extension. For details on the storage allocation for the same, please refer to the section titled "Variable Length" in gcc info pages. regards saurabh