# C Programming Code Examples

## C > Mathematics Code Examples

### C Program to Check whether a given Number is Armstrong

C Language Code Investigating the Family -
C Function to input data on Family members. C Function to output data on people on file. Structure to hold data from file. Pointer to Family structure. File position. Open file for

Use the Break Statement in C++ language -
It's used in switch case control structure after the case blocks. Generally all cases in switch case are followed by a "Break Statement" to avoid the subsequent cases (see the example

Check Whether Two Matrices are Equal or -
C program to enter elements in two matrices and check whether both matrices are equal or not. C code to check whether elements of two matrices are equal or not. Input elements

C Program save Array in Memory into file -
Get memory in c programming language. Generate 10 random numbers. Write the entire array in one step. Free memory. Get memory again. Read the entire array in one

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

C++ Sorts Elements Lexicographical Order -
This program sorts the 10 strings (entered by the user) in Lexicographical order (dictionary order). This program takes 10 words from the user and sort them in 'Lexicographical Order'

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

Implementations Quadratic Probing Hashs -
Internal method to test if a positive number is prime. Not efficient algorithm. Using Internal method to return a prime number at least as large as n. Assumes "n > 0". Insert item x into