...
Code Block | ||
---|---|---|
| ||
char *init_array() { char array[10]; /* Initialize array */ return array; } |
Implementation Specific Details
On some compilers, compiling with sufficiently high warning levels will generate a warning when a local stack variable is returned from a function.
...