S
Sean
Hi all,
I know that some variables are stored on heaps and some on
stack in C++. How about functions? where does function
reside on memory? Is it stack or heap?
And are both function (not class member) and method
(function in a class) stored in the same location (either
stack or heap)?
Thank you very much in advance.
regards,
Sean
I know that some variables are stored on heaps and some on
stack in C++. How about functions? where does function
reside on memory? Is it stack or heap?
And are both function (not class member) and method
(function in a class) stored in the same location (either
stack or heap)?
Thank you very much in advance.
regards,
Sean