C Program to Search an Element in Linked List without using Recursion

This C program, using iteration, searches for an element in a linked list. A linked list is an ordered set of data elements, each containing a link to its successor. Here is the source code of the C program to search for an element in a linked list. The C program is successfully compiled and … Read more

advertisement

C Program Find the Length of Linked List without Recursion

This C Program, using iteration, counts the number of nodes in a linked list. A linked list is an ordered set of data elements, each containing a link to its successor. Here is the source code of the C program to count the number of nodes in a linked list. The C Program is successfully … Read more

advertisement

C Program to Reverse a Stack using Recursion

This C program, using recursion, reverses a stack content. Stack here is represented using a linked list. A linked list is an ordered set of data elements, each containing a link to its successor. Here is the source code of the C program to display a linked list in reverse. The C program is successfully … Read more

advertisement

C Program to Traverse the Tree without Recursion

The following C program, using iteration, searches for a given node in a tree. The tree we have used is the binary search tree. A binary search tree follows a concept of the nodes whose numbers are lesser than the parent/pointed node are linked to the left and the nodes whose are greater than the … Read more

advertisement

C Program to Implement Queue using Linked List

This C Program implements queue using linked list. Queue is a particular kind of abstract data type or collection in which the entities in the collection are kept in order and the principal (or only) operations on the collection are the addition of entities to the rear terminal position, known as enqueue, and removal of … Read more

advertisement

C Program to Implement Queue using Array

This is a C Program to Implement a queue using array. Problem Description This C program implements the queue operations using array. Problem Solution 1. Use three functions for three operations like insert, delete and display. 2. Use switch statement to access these functions. 3. Exit. Program/Source Code Here is source code of the C … Read more

advertisement

C Program to Implement Stack

This is a C program to Implement a stack. Problem Description This program implements the stack operation. Problem Solution 1. Use three functions for three operations like push, pop and display. 2. Use switch statement to access these functions. 3. Exit. Program/Source Code Here is source code of the C program to implement a stack. … Read more

advertisement

C Program to Create a Linked List and Display it

This C Program create a linked list & display the elements in the list. Linked list is an ordered set of data elements, each containing a link to its successor. This program is to create a linked list and display all the elements present in the created list. Here is source code of the C … Read more

advertisement

C Program to Implement Singly Linked List Operations

This C Program illustrate the operations of singly linked list. The program does insertion and removal of elements from any position in the sequence. Here is source code of the C program to illustrate the operations of singly linked list. The C program is successfully compiled and run on a Linux system. The program output … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.