Answer the question
In order to leave comments, you need to log in
Which memory contains heaps and stack?
Heaps and stacks are part of RAM, right?
Answer the question
In order to leave comments, you need to log in
It's not clear what C# has to do with it. And what exactly are we talking about, the stack is essentially the organization of data storage. Well, if we are talking about where the variables are stored, then yes, RAM is used for this. Stacks typically store scoped variables, while heaps typically store global or dynamically allocated variables. Although not necessarily RAM, if we have a swap installed, then a part can be unloaded to the hard drive and, in my opinion, in hibernation or sleep mode, the RAM is unloaded to the hard drive, and after recovery it is loaded back again.
What part is in the registers, a lot of it in memory
https://habr.com/ru/company/clrium/blog/347280/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question