Top
/
Creating arrays
/
Answer-22B-2
Answer to Question 22B-2
Array
A
is created in this function's frame in the run-time stack. Since
A
is destroyed when the function returns, this function returns a
dangling pointer
.