Top

Discussion

The size of both stack and heap remains the same during run time.

  • A.True
  • B.False

Answer: B

Memory can be allocated or de-allocated during the run time in the heap region. Memory bindings (allocation and de-allocation) are established and destroyed during the execution of the program. Hence we can see that the size of heap does not remain same during run time. However, the size of stack remains the same.

No comment is present. Be the first to comment.
Loading…

Post your comment