Question: 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)?

Options

A : S[N-1]

B : S[N]

C : S[1]

D : S[0]

Click to view Correct Answer

Previous || Next

Data Structure Stack Array more questions

In P.W.D who is the primary disbursing officer who is....

Which parameter is referred to as receiver sensitivity?

_________ is another kind of fiber optic network with an....

For a given dc machine it is advised to use....

Which of the following array element will return the top-of-the-stack-element....

Bridge sensitivity is defined as _________

What is an ambiguous condition in a NAND based S’-R’....

Which of the following is true relation among s-domain and....

For realisation of JK flip-flop from SR flip-flop, if J=0....

For realisation of JK flip-flop from SR flip-flop, if J=1,....

Data Structure Adjacency List more Online Exam Quiz

Data Structure Selection Sort

Data Structure Single Linked Lists

Data Structure Skip List

Data Structure Sparse Array

Data Structure Splay Tree

Data Structure Stack Linked List

Data Structure Stack Operations

Data Structure Stack Using Queues

Data Structure String Reversal Recursion

Data Structure Test