Consider the following array implementation of stack: If the array index starts with 0, the maximum value

Question:

Consider the following array implementation of stack:

image text in transcribed

If the array index starts with 0, the maximum value of top that does not cause stack overflow is?

A. 8

B. 9 

C. 10 

D. 11

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: