C Programs - Array
An array is a collection of elements of similar data type stored at the contiguous memory location.
Array elements can be accessed using an index.
Array index starts from 0
to N-1
(where N is the size of array).
Arrays can be categorized into two categories:
- One-dimensional array
- Multi-dimensional array
List of programs
- C Program to read and print elements of array
- C Program to print sum of array elements
- C Program to print maximum and minimum element in array
- C Program to print second largest element in array
- C Program to print count of even and odd numbers in array
- C Program to count positive, negative and zero numbers in array
- C Program to copy all array elements from one array to another
- C Program to insert an element in array
- C Program to delete an element from array
- C Program to print frequency of each element in array
- C program to print all unique elements in the array
- C Program to count total number of duplicate elements in an array
- C Program to print duplicate elements in an array
- C program to delete all duplicate elements from an array
- C program to merge two array to third array
- C program to find reverse of an array
- C program to search an element in an array
- C program to sort array
- C program to left rotate an array
- C program to right rotate an array
- C program to add two matrices
- C program to perform scalar matrix multiplication
- C Program to multiply two matrices