# Tag Archives: C Array Programs

C Array Programs

Given an array of numbers, the task is to print all the even elements of the array. Let us understand it with few examples mentionedâ€¦ Read More
Given an array arr of integers of the size of N, our task is to find the count of positive numbers and negative numbers inâ€¦ Read More
What is the Determinant of a Matrix? The determinant of a Matrix is a special number that is defined only for square matrices (matrices that haveâ€¦ Read More
Prerequisites: Pointers in C++ Array in C++ A Pointer is a variable that stores the memory location or address of an object or variable. Inâ€¦ Read More
Given an array, the task is to find average of that array. Average is the sum of array elements divided by the number of elements.â€¦ Read More
Given a 2D array, sort each row of this array and print the result.Examples:  Input: 77 11 22 3 11 89 1 12 32 11â€¦ Read More
Transpose of a matrix is obtained by changing rows to columns and columns to rows. In other words, transpose of A[][] is obtained by changingâ€¦ Read More
The below program adds two square matrices of size 4*4, we can change N for different dimensions.Â  Recommended: Please solve it on “PRACTICE” first, beforeâ€¦ Read More
What is the Determinant of a Matrix? The determinant of a Matrix is a special number that is defined only for square matrices (matrices that haveâ€¦ Read More
Given an array (or string), the task is to reverse the array/string.Examples :Â Â  Input : arr[] = {1, 2, 3} Output : arr[] = {3,â€¦ Read More
Given an array of size N. The task is to find the maximum and the minimum element of the array using the minimum number ofâ€¦ Read More
Given a sorted array, the task is to remove the duplicate elements from the array.Examples: Input: arr[] = {2, 2, 2, 2, 2} Output: arr[]â€¦ Read More
To remove all the occurrences of an element in an array, we will use the following 2 approaches:  Using Methods Without using methods or Withâ€¦ Read More
Here, we will develop a C Program to Calculate the Average of All Elements of an Array: Input: arr[] = {1, 2, 3, 4, 5}â€¦ Read More
Here, we will see how to sort the 2D Array across rows using a C program: Input: 8 5 7 2 7 3 0 1â€¦ Read More