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...

how to implement stack operation using singly linked list

Answer Posted / vignesh1988i

we know that stack is a data structure where the
highest priority will be given to the last element that is
pushed inside and the priority will decrease respectively to
the next consecutive elements........ so we are going to
implement in singly list .... so we are going to insert the
node to the left side of a reference node....... operations
performed in stack are : PUSH & POP..... PUSH here means we
are going to insert a element only at last ..... and POP
means displaying the node from first........


thank u

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sizeof int?

1102


What is cohesion in c?

983


What is the ANSI C Standard?

1269


What is data structure in c language?

1112


Differentiate between calloc and malloc.

1273


What is wrong in this statement?

1147


What is a lvalue

1085


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1590


What language is lisp written in?

1269


Explain what is wrong in this statement?

1125


Write a program to identify if a given binary tree is balanced or not.

1164


What is wild pointer in c with example?

1064


What is local and global variable in c?

1206


What are bitwise shift operators in c programming?

1084


Is null valid for pointers to functions?

1174