How is stack used for array when stack's variable declaration is runtime?

Viewed 21

Array's memory is allocated in compile time. Stack uses runtime variable declaration.

How is then stack used for array?

0 Answers
Related