Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
do i understand this correctly?
im reading some code for my c++ final. and im not 100% sure i did this correct.
"Block* blockPtrs[4];" this makes an array of pointer to a class "block" my question is just this, would the memory allocated for the pointer be in the main memory or in the class "block": memory. this is for a memory map.
thanks all
2 Answers
- ?Lv 68 years agoFavorite Answer
Think it would have to be self-referential to be in the "block" memory, so I would say it would be in the main memory.
- Don't sue me!Lv 58 years ago
Depends on where it was declared. I don't really understand you question.