# C Programming Code Examples

## C > Linked Lists Code Examples

### Find Number of Occurrences of All Elements in a Linked List

Increment Operator Decrement Operator -
Basic "arithmetic operators" are +, -, *, /, %. "Increment operator" is ++ and "decrement operator" is --. These operators can be used as before the variable (prefix) and after the

Sum of each Row and Columns of a matrix -
C program to read elements in a matrix and find the sum of elements of each row and columns of matrix. C program to calculate sum of rows and columns of matrix. Input...

C code swap First & Last digit of a number -
C Program to input a Number from user and swap first and last digit of the given number. First input a number from user and find last digit. Total number of digit - 1. Find first digit.

C Program code to Multiply two Matrices -
Read elements in two matrices and multiply them. Matrix multiplication program in C. How to multiply matrices in C programming. Input elements in first matrix from user and...

Weakly Connected or Strongly Connected -
Program to find the connected components of the "Undirected Graph". This can be done using depth first search algorithm. Fills stack with vertices (in increasing order of finishing

C Code Accept an Array & Swap Elements -
C Program accepts array and swap elements using pointers. C program to accept an array of 10 elements and swap 3rd element with 4th element using pointers and display the

Program code to check symmetric matrix -
C program to read elements in a matrix and check whether the given matrix is symmetric matrix or not. Symmetric matrix is a square matrix which is equal to its transpose. A is...

Finds Prime Number in C++ The Language -
In C++ coding, we take a 'For Loop' which will start from 1 up to number that has entered to check whether it is Prime Number or not with in for loop we set an 'IF' condition and placed