Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes

C Programming Code Examples

C > Linked Lists Code Examples

C Program to Implement Binary Tree using Linked List

C++ Language Counts Words in Sentence - To "count total number" of words used in any sentence in C++, you have to ask to enter the sentence. And then, to count total number of words present in the string, search for spaces

Insertion Sort Algorithm in C++ Language - Insertion sort is simple sorting algorithm that builds the final sorted array ('or list') one item at a time. It is much less efficient on large lists than more advanced algorithms such as quick

C++ Implement Dijkstra's Algorithm using - This C++ program code displays the Djikstra's Algorithm of finding shortest paths from one node to others using the concept of a priority queue. A "Priority Queue" is an abstract data

Program calculate & print the value of nCr - In the following C program we are calculating & displaying the value of nCr. nCr can also be represented as C(n,r). C Language function is used to find the factorial of given number and

C++ Program to Implementing LRU Cache - A Queue Node (Queue is implemented using Doubly Linked List). And a FIFO collection of Queue Nodes. A hash (Collection of pointers to Queue Nodes). A utility function to create

C program code to set nth bit of a number - We use bitwise OR | operator to set any bit of a number. C Bitwise OR operator evaluate each bit of the resultant value to 1 if any of the operand corresponding bit is 1. Input the

Check Whether a Directed Graph Contains - If graph has no "Odd Degree Vertex", there is at least one "Eulerian Circuit". If graph as two vertices with odd degree, there is no Eulerian Circuit but at least one Eulerian Path. If graph

Find Second Largest & Smallest Elements - C Program finds second largest & smallest elements in an array. The program sorts the array in an descending order. Then it finds the second largest and smallest element in