Stack can be described as a pointer. Explain.

Answers were Sorted based on User's Feedback



Stack can be described as a pointer. Explain...

Answer / pramod

Because stack will contain a head pointer which will always
point to the top of the Stack.
All Stack Operations are done using Head Pointer. Hence
Stack ca be Described as a Pointer

Is This Answer Correct ?    50 Yes 4 No

Stack can be described as a pointer. Explain...

Answer / kavitha

stack is last in first out property,so lastly pushed
element is poped out first.so when a pointer is pointed it
always points out the head pointer i.e the top element in
the stack.,so stack is also described as pointer.

Is This Answer Correct ?    9 Yes 1 No

Stack can be described as a pointer. Explain...

Answer / shweta

the TOP of Stack element is pointed by a pointer,when we
use PUSH and POP operations i.e. LIFO.

Is This Answer Correct ?    10 Yes 3 No

Stack can be described as a pointer. Explain...

Answer / mousumi

Because stack will contain a head pointer which will always point to the top of the Stack. All Stack Operations are done using Head Pointer. Hence Stack can be Described as a Pointer

Is This Answer Correct ?    6 Yes 1 No

Stack can be described as a pointer. Explain...

Answer / cse

Stack is also dynamic memory, without the hassle.
Dynamic memory uses pointers to check its value, free the
memory, etc.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Data Structures Interview Questions

Why insertion is faster in linked list?

0 Answers  


What are doubly linked lists?

0 Answers  


What are the disadvantages of representing a stack or queue by a linked list?

0 Answers  


What can be stored in an arraylist?

0 Answers  


What is a Queue? Explain its operation with example?

0 Answers  






Different Types of pattern?

0 Answers   Wipro,


How many different trees are possible with 10 nodes ?

1 Answers  


write a program to accept name & sort them?

0 Answers  


How many different binary trees and binary search trees can be made from three nodes that contain the key values 1, 2 & 3?

28 Answers   Accenture, Amazon, College School Exams Tests, iGate, Microsoft, TCS, Wipro,


Define the tree data structure.

0 Answers  


Why is hashset not ordered?

0 Answers  


Why concurrenthashmap is fail safe?

0 Answers  


Categories