Ad Code

What is Stack overflow

What is Stack overflow


The strong argument in favor of caller cleared stacks is that the arguments were placed on the stack for the
subroutine, the caller did not needed them for itself, so the subroutine is responsible for removing them.
Removing the arguments is important as if the stack is not cleared or is partially cleared the stack will
eventually become full, SP will reach 0, and thereafter wraparound producing unexpected results. This is called stack overflow.
Reactions

Post a Comment

0 Comments