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 > Beginners Lab Assignments Code Examples

Factorial Function





Program Code to Implement Bellmanford - This C++ Language program implements the "Bellmanford Algorithm" is an algorithm that computes shortest paths from a single source vertex to all of the other vertices in weighted

Perform Unique Factorization of Numbers - Program finds the Unique paritions of a given integer such that addition of a partition result an integer. A positive integer n, "generate" all possible unique ways to represent n as sum of

Convert Binary Code of a Number into its - C program to using recursion, evaluates the gray code equivalent of a binary number. A gray is also represented using 0s and 1s. The speciality of gray code is that only one bit is

C++ Computes Discrete Fourier Transform - This is a C++ Program to perform Fast Fourier Transform. A 'Fast Fourier transform' (FFT) is an algorithm to compute the discrete Fourier transform (DFT) & its inverse. Fourier analysis

C Program to calculate Area of a Polygon - Given the coordinates of the vertices of a convex polygon, calculate its area and perimeter. Subdivide it into triangles and calculate the area of each triangle with the

Program Code Implement Pigeonhole Sort - Code implement pigeonhole sort. Pigeonhole sorting, also known as count sort, is a sorting algorithm that is suitable for 'Sorting Lists' of elements where the Number of Elements (n)

Swaps Numbers Using Pointers in the C++ - The simplest and probably most widely used method to "swap 2 variables" is to use a third temporary variable: In programming, the act of 'swapping' two variables refers to mutually

Combinations Using Matrix Multiplication - A C++ function to find the factorial of a given number using matrix multiplication method. Assigning numbers from "1 to n" to the super diagonal indexes of the matrix and assigning