A nice explanation of memory stack vs. heap

Ok, but can we “choose” which memory to use, or it done “automatically” ? And in such case, based on what?

1 Like