 # C Programming Code Examples

## C > Linked Lists Code Examples

### C Program to Print the Alternate Nodes in a Linked List using Recursion

Program to Check if a Binary Tree is a BST - Returns true if the given tree is a BST and its values are >= min & <= max. Allocates a new node with the data and "NULL" left and right pointers. The Given Binary Tree is a "BST" or

2D-Drawing Circles, Arcs, Rectangle, Lines - This 2D-Drawing Program is used for drawing circles, arcs, rectangle, lines and many more. Controls for the two-dimensional drawing. Enter radius of circle, enter radius, starting...

Print Armstrong Numbers from 1 to 1000 - Program code print Armstrong Number from 1 to 1000. An Armstrong number is an n-digit base b number such that the sum of its (base b) Digits Raised to the Power n is the number

Code shows how to fork system call works - C Programming example that shows how fork system call works. Let us now print the current working directory of the child. Now we are in the parent thread. Let is check the

C++ Programs Use Above Below Primitive - Program to check whether two lines intersect to each other. The above-below primitive can be used to test whether a line intersects a line segment. It does iff one endpoint of segment

Code Print Binary Equivalent of an Integer - Print "binary equivalent" of an integer. C code using recursion, finds the binary equivalent of a "Decimal Number". Decimal numbers are of base 10 while "Binary Numbers" are of base 2

C Swap 2 Numbers using Bitwise Operator - Swap two number using bitwise operator in C programming. There are tons of discussions going around the internet to swap 2 numbers without using temporary variable. We can...

C++ Check whether a Vertex Cover of Size - The problem takes E edges as input and then outputs whehter vertex cover of size K of the graph exists or not. 'Vertex Cover of a Graph' is, a set of vertices S, such that for every edge