# C Programming Code Examples

## C > Linked Lists Code Examples

### C Program to Reverse a Linked List

String Functions strcmp Compares Strings -
C function 'compares' the two strings, returns an integer value. If both the strings are 'same' then this function would return 0 otherwise it may return a negative or positive value based

Calculates Area & Circumference of Circle -
To calculate area and circumference we must know the radius of circle. C program code will prompt user to enter the radius and based on the input it would calculate the values. Make

Implement The Edmonds-Karp Algorithm -
The Edmonds_Karp Algorithm which is used to compute the maximum flow between the 'sink and source vertex'. It is the same as the "Ford - Fulkersson" Algorithm except that it

Create Linked List & Display the Elements -
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

Prefix Increment ++ Operator overloading -
The only difference is that, the return type of operator function is Check in this case which allows to use both codes ++obj; obj1 = ++obj;. It is because, temp returned from "operator"

Program Generate All the Set Partitions of -
This algorithm takes the 'Input of the Natural' number and prints all the possible partition of each number less than or equal to it. For each number, it starts with the number and breaks

C Construct a Balanced Binary Search Tree -
Code construct a balanced binary search tree which has same data members as the given doubly Linked list. This C Program creates a balanced binary search tree which has same

C++ Class Program to Find Prime Number -
A 'prime number' is a natural number greater than 1 that has no positive divisors other than 1 and itself. The C++ Programming Language allows you to separate program-specific data