# C Programming Code Examples

## C > Sorting Searching Code Examples

### C Program to Sort Structures on the basis of Structure Element

C++ Program Check if it is a Sparse Matrix -
This is a C++ Program code to check 'sparsity' of a matrix. If the number of zeros in a matrix exceeds (n*m)/2, n and m is the dimension of the matrix, matrix is sparse matrix. Enter the

C Display Fibonacci Series Using Recursion -
Program code display 'Fibonacci series' using recursion. Using "fibonacci_series()" that calls itself recursively, in order to display series for the entered number of terms. Program enter

Calculate Sum and Difference of Matrices -
C Program calculates the sum & difference of the matrices. Code first reads 2 matrices and then performs both addition and subtraction of matrices. Sum of elements of matrix A and

C coding Basic binary search tree routines -
Insert, swap, search value, search minimum and search maximum values. Destroy, count tree nodes. Insert a tnode into the binary tree. Traverse the tree to get a pointer to the

C++ Finds Gets and Display the IP Address -
To get the IP address of your computer in c++ programming, use the function system() and place the command 'ipconfig' after providing the full path of 'System32' i.e., C:\\Windows\\

Program Sort text data by soundex value -
Insert line in the Linked List. Create a new node. Save data into new node. First, we handle the case where 'data' should be the first element. Get soundex code for a string.

Convert Decimal to Octal Number System -
C Program Code input decimal number and convert to octal number system. Decimal number system is a base 10 number system. Decimal number system uses 10 symbols to

Implementing Circular Doubly Linked List -
'Memory allocated' for node dynamically and inserts element at beginning. Inserts elemnet at last. Inserts element at position and delete node at particular position. Update value of a