Posted by: Pdfprep
Post Date: November 23, 2020
Which of the following of the following is a true statement about a stack and heap?
A . Heaps can allocate a block of memory at any time and free it at any time.
B . Stacks can allocate a block of memory at any time and free it at any time.
C . Heaps are best for when you know exactly how much memory you should use.
D . Stacks are best when you don’t know how much memory to use.
Answer: A
Leave a Reply