Computer Science, asked by shashikala80228, 5 months ago

write a c program to implement the insert and delete operation on a stack using circular single linked list​

Answers

Answered by anshika7410
1

Answer:

fhlhugoydciogfuvkjckvlbigivovkv

ufufufvvkfi

Answered by Priyapragya
0

Answer:

Implement a stack using single linked list concept. all the single linked list operations perform based on Stack operations LIFO(last in first out) and with the help of that knowledge we are going to implement a stack using single linked list. using single linked lists so how to implement here it is linked list means what we are storing the information in the form of nodes and we need to follow the stack rules and we need to implement using single linked list nodes so what are the rules we need to follow in the implementation of a stack a simple rule that is last in first out and all the operations we should perform so with the help of a top variable only with the help of top variables are how to insert the elements let’s see

            (see attachments)

A stack can be easily implemented through the linked list. In stack Implementation, a stack contains a top pointer. which is “head” of the stack where pushing and popping items happens at the head of the list. first node have null in link field and second node link have first node address in link field and so on and last node address in “top” pointer.

Explanation:

Mark me as the Brainliest plz....

Attachments:
Similar questions