Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Why is quicksort unstable?

873


Which is better bubble sort or selection sort?

789


Write an algorithm for inserting and deleting an element from doubly linked list?

873


What is difference between hashset and treeset?

993


Which sorting algorithm has minimum number of swaps?

843


What is the use of space complexity and time complexity?

1003


How many types of searching are there in data structure?

793


What is an object array?

900


What is a pseudocode example?

918


Does treemap sort automatically?

882


Define a full binary tree ?

944


What is a stable algorithm?

882


Who invented merge sort?

832


Why is hashmap not thread safe?

872


What is collections singletonlist?

831