Quantcast
Channel: Learn C Programming - C Codes and Programs » C Programs
Browsing latest articles
Browse All 22 View Live

C Program to Implement a Stack using Linked List

In our previous code, we have seen how to write a C program to implement a stack. Today we will learn how to implement stack ...

View Article


C Program to Solve the Magic Squares Puzzle

The following C program finds the magic square for a given odd sized number, using iteration. A magic square is an arrangement of numbers from ...

View Article


C Program to Solve Tower of Hanoi Problem using Recursion

The tower of hanoi is a mathematical puzzle. It consists of three rods, and a number of disks of different sizes which can slide onto ...

View Article

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

C Program to Search for an Element in the Linked List without using Recursion : This C program, using iteration, searches for an element in ...

View Article

C Program to Traverse the Tree without using Recursion

C Program to Traverse the Tree without using Recursion : This C program will traverse the tree without using Recursion. The following C program, using ...

View Article


C Program for Depth First Binary Tree Search without using Recursion

C Program for Depth First Binary Tree Search without using Recursion : The following C program performs a Depth First Search traversal. Depth-first search (DFS) ...

View Article
Browsing latest articles
Browse All 22 View Live