C Programming Code Examples C > Arrays and Matrices Code Examples Accessing 2-D Array Elements In C Programming C Programming Code - Addition of All Elements in Matrix Addition of Diagonal Elements in Matrix C Programming Allocate memory for int array An example of how to initialize a matrix: loop an example of using an array for two tasks applying sizeof( ) to determine an array's size C Programming Array: assign and retrieve value C Programming Code - Array concatenation program in C C Programming Code - Arrays of strings Average the items in a 5 element array program count total duplicate elements in an array C program for addition of two matrices in C Program to Accept a Matrix of Order MxN & Interchange the Diagonals Program to Accept an Array & Swap Elements using Pointers C program to add two matrices C Program to Add Two Matrix Using Multi-dimensional Arrays Program to Calculate Addition of All Elements in Array C Program to Calculate Sum & Average of an Array Calculate Sum of all Elements of an Array using Pointers as Arguments program to calculate sum of Upper Triangular Elements in C Program to Calculate the Addition or Subtraction & Trace of 2 Matrices C Program to Calculate the Sum & Difference of the Matrices Program to Calculate the Sum of the Array Elements using Pointer C Program to Calculate the Sum of the Elements of each Row & Column C Program to Check Array bounds while Inputing Elements into the Array C program to check Identity matrix Program to Check if a given Matrix is an Identity Matrix c programming to check sparse matrix program code to check symmetric matrix Check whether entered matrix is magic square or not ? program to check whether two matrices are equal or not C Program to Compute the Product of Two Matrices C Program to Compute the Sum of two One-Dimensional Arrays using Malloc Construct a Balanced Binary Tree using Sorted Array Copy all elements of an array into Another array program to copy all elements of one array to another program to count even and odd elements in an array count frequency of each element in an array C program to count total number of negative elements in array delete all duplicate elements from an array Program to Delete an element from the specified location from Array Page 1 Page 2 Page 3 Page 4