Home / CSE MCQs / Data Structure MCQs :: Discussion

Discussion :: Data Structure MCQs

  1. 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).
  2. A.
    S[N-1].
    B.
    S[N]
    C.
    S[1].
    D.
    S[0].

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Elements are pushed at the end, hence N.


Be The First To Comment