In which area of memory, the system stores parameters and local variables whenever a method is invoked ?
Answers
Answered by
1
Local Variables are stored in Stack. Register variables are stored in Register Global & staticvariables are stored in data segment. Thememory created dynamically are stored in Heap.
Similar questions