Consider the following array implementation of stack: #define MAX 10 Struct STACK { Int arr [MAX]; Int top = -1; } If the array index starts with 0, the maximum value of top which does not cause stack overflow is?
A. 8 or 10
B. 9
C. 11
D. 15
Join The Discussion
Comments (2)
Related User Ask Questions
Which of the following is not a primary function of a Bank?
A. Granting Loans
B. Collecting Cheques/Drafts customers
C. Facilitating import of goods
D. Issuing Bank Drafts
A. Regulatory jurisdictional fight between SEBI and IRDA
B. They don’t offer better tax benefits
C. They offer lesser returns compared to traditional insurance policies
D. All of the above
The Chameli Devi Jain Award is given for an outstanding woman ____?
A. Scientist
B. Reporter
C. Player
D. Teacher

8
B