Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Arrays
6.5K+ articles
C++
4.3K+ articles
C++ Programs
2.4K+ articles
C Language
1.8K+ articles
School Programming
1.5K+ articles
Matrix
1.3K+ articles
C Programs
705+ articles
c-array
34+ articles
C Array Programs
28 posts
Recent Articles
Popular Articles
How to Find the Mode of Numbers in an Array in C?
Last Updated: 19 June 2024
In C, the mode of array numbers is the element that appears most frequently in the array. To find the mode, we can count the occurrences of each element and identify the o...
read more
c-array
C Language
C-Arrays
C Programs
Picked
C Array Programs
C Examples
Array C/C++ Programs
Last Updated: 22 May 2024
C Program to find sum of elements in a given arrayC program to find largest element in an arrayC program to multiply two matricesC/C++ Program for Given an array A[] and a...
read more
c-array
cpp-array
C Language
C++
C Programs
C++ Programs
C++ Array Programs
C Array Programs
How to Find the Size of an Array in C?
Last Updated: 20 November 2024
The size of an array is generally considered to be the number of elements in the array (not the size of memory occupied in bytes). In this article, we will learn how to fi...
read more
cpp-sizeof
C Language
C-Data Types
C Programs
Picked
C Array Programs
C Examples
C Program to Find Minimum Value in Array
Last Updated: 20 November 2024
In this article, we will learn how to find the minimum value in the array.The easiest and straightforward method is to iterate through each element of the array, comparing...
read more
C Language
C-Arrays
C Programs
Picked
C Array Programs
C Examples
C++ Program to Print Even Numbers in an Array
Last Updated: 06 February 2023
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 below.Example:Input: num1 = [2,7,6,5,...
read more
C++
C++ Programs
C Array Programs
Technical Scripter 2022
C++ Program to Count Positive and Negative Numbers in an Array
Last Updated: 27 February 2023
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 the array.Examples:Input: arr[] = [-9,7,-5,3,2]O...
read more
Technical Scripter
C++
C Array Programs
Technical Scripter 2022
C++ Program For Determinant of a Matrix
Last Updated: 07 April 2023
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 the same number of rows an...
read more
Mathematical
Matrix
C++
C++ Programs
C Array Programs
DSA
C++ Program to Access Elements of an Array Using Pointer
Last Updated: 16 January 2023
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 other words, pointers reference a ...
read more
Technical Scripter
cpp-pointer
C++
C++ Programs
C Array Programs
Technical Scripter 2022
C++ Program to Left Rotate an Array by d Elements.
Last Updated: 17 April 2023
Given an array of integers arr[] of size N and an integer, the task is to rotate the array elements to the left by d positions.Examples: Input:arr[] = {1, 2, 3, 4, 5, 6, 7...
read more
C++
C++ Programs
C Array Programs
C++ Program For Average of an Array (Iterative and Recursive)
Last Updated: 14 March 2024
Given an array, the task is to find the average of that array. Average is the sum of the array elements divided by the number of elements.Examples:Input: arr[] = {1, 2, 3,...
read more
Arrays
C++
Arrays
C++ Programs
C Array Programs
DSA
C++ Program For Row Wise Sorting in 2D Array
Last Updated: 27 January 2023
Given a 2D array, sort each row of this array and print the result.Examples:Input:77 11 22 311 89 1 1232 11 56 711 22 44 33Output:3 11 22 771 11 12 897 11 32 5611 22 33 44...
read more
Arrays
Sorting
Matrix
C++
C++ Programs
C Array Programs
DSA
C++ Program To Find Transpose of a Matrix
Last Updated: 21 June 2023
Transpose of a matrix is obtained by changing rows to columns and columns to rows. In other words, the transpose of A[][] is obtained by changing A[i][j] to A[j][i].Exampl...
read more
Arrays
Matrix
C++
School Programming
Arrays
C++ Programs
C Array Programs
DSA
Add Matrix in C
Last Updated: 04 July 2024
Matrices are the collection of numbers arranged in order of rows and columns. In this article, we will learn to write a C program for the addition of two matrices.The idea...
read more
Matrix
C Language
C Programs
C Array Programs
DSA
C Program to Find Determinant of a Matrix
Last Updated: 15 March 2023
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 the same number of rows an...
read more
C Language
C Programs
C Array Programs
Reverse Array in C
Last Updated: 20 November 2024
Reversing an array means the swapping last element and first element, second last element and second element, and so on. In this article, we will learn how to reverse an a...
read more
c-array
C Language
C Programs
C Array Programs
C Examples
1
2
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !