# C Programming Code Examples

## C > File Operations Code Examples

### C Program to Join Lines of Two given Files and Store them in a New file

Fisher-Yates Algorithm & Array Shufflings -
Program to "shuffle array" using Fisher-Yates algorithm. This algorithm for "generating" a 'Random Permutation' of a finite set-in plain terms, for randomly shuffling the set. Variant

Merge Sort Linked list Code in C Language -
Add a node to the linked list. Preform merge sort on the linked list. Merge the lists. Insert some numbers into the linked list. Sort the list. Print the list. Free the list. Add a node to

C Programming code Basic Hash example -
Basic hash example. Fire up hashtable, insert data into hashtable, resolve collisions in hashtable, display hashtable, delete an entry from hashtable, hash data for hashtable...

C++ Implement Gauss Jordan Elimination -
This method can also be used to find the rank of a matrix, to calculate the determinant of a matrix, to calculate the "inverse" of invertible square matrix. C++ Gauss Jordan Elimination

Undirected Graph contains a Eulerian Path -
Check if this graph is Eulerian or not. Check if all non-zero degree vertices are connected. If graph has no "odd degree vertex", there is at least one Eulerian Circuit. And if graph as two

Calculate Sum Calculate Average of Array -
C Program calculates the sum & average of an array. It declares an array and then add the array elements and finds the average of the array. Find the sum of negative numbers and

C++ Language Implement Multiset in STL -
C++ Program demonstrates implementation of "Multiset in STL". "Insert element" into the multiset. "Delete element" from the multiset. "Find element" in a multiset. Count elements

Check the Number can be Express as Sum -
Check if an integer can be 'expressed' as the "sum of two Prime Numbers" of all possible combinations with the use of functions. This program takes a positive integer and checks