Stack can be described as a pointer. Explain.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by doubly linked list?

510


When is a binary search best applied?

500


Can hashmap be sorted?

515


Explain what is the type of the algorithm used in solving the 8 queens problem?

481


What is complexity algorithm?

465






What is a static structure?

473


Why use a tuple instead of a list?

468


What are AVL trees?

581


What does bubble sort do?

461


What is the Insertion Sort Code?.

641


What is circular queue example?

478


What is bubble insertion selection sort?

492


What is the difference between array and stack in data structures?

513


How does the bubble sort work?

504


What is the space complexity of quicksort?

489