Vidyalelo
Data Structure · Q121

Introduction to Data Structures

Programming · Data Structure · question 121

Q121

Which of the following array position will be occupied by a new element being pushed for a stack of size N elements(capacity of stack > N)?

A.
S[N-1]
B.
S[N]
Answer
C.
S[1]
D.
S[0]

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board