Consider the following operation performed on a stack of size 5. After the completion of all operations,

Question:

Consider the following operation performed on a stack of size 5.

image text in transcribed

image text in transcribed

After the completion of all operations, the number of elements present on the stack are

A. 1

B. 2 

C. 3 

D. 4

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

Step by Step Answer:

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