Top

Discussion

Is it true that too many recursive calls may result into stack overflow?

  • A.Yes
  • B.No

Answer: A

Yes, too many recursive calls may result into stack overflow. because when a function is called its return address is stored in stack.

After sometime the stack memory will be filled completely. Hence stack overflow error will occur.

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

Post your comment