Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Arrays
6.4k+ articles
C++
4k+ articles
C++ Programs
2.5k+ articles
C Language
1.8k+ articles
STL
1.2k+ articles
CPP Examples
700+ articles
cpp-vector
360+ articles
cpp-string
140+ articles
cpp-pointer
93 articles
cpp-array
160+ posts
Popular Articles
Recent Articles
How to Find the Length of an Array in C++?
Last Updated: 29 November 2024
In C++, the length of an array is defined as the total number of elements present in the array. In this article, we will learn how to find t
...read more
cpp-array
C++
C++ Programs
Picked
CPP Examples
How to Remove an Element from Array in C++?
Last Updated: 11 October 2024
In C++, removing an element from an array is tricky because we cannot modify the memory space occupied by the array. So, we pseudo delete th
...read more
STL
cpp-array
C++
cpp-algorithm-library
C++ Programs
Picked
CPP Examples
Pass Array to Functions in C++
Last Updated: 03 January 2024
In C++, a collection of elements stored in contiguous memory locations and having the same data type is called an array. Passing arrays to f
...read more
cpp-array
cpp-pointer
CPP-Functions
C++
Picked
Geeks Premier League
Geeks Premier League 2023
Similar Topics
DSA
22.3k+ articles
Arrays
6.4k+ articles
C++
4k+ articles
C++ Programs
2.5k+ articles
C Language
1.8k+ articles
STL
1.2k+ articles
CPP Examples
700+ articles
cpp-vector
360+ articles
cpp-string
140+ articles
cpp-pointer
93+ articles
Array of list in C++ with Examples
Last Updated: 20 February 2023
What is an array?An array in any programming language is a data structure that is used to store elements or data items of similar data types
...read more
Arrays
STL
cpp-array
C++
Arrays
cpp-list
DSA
Reference to Array in C++
Last Updated: 29 June 2021
Reference to an array means aliasing an array while retaining its identity. Reference to an array will not be an int* but an int[]. Let us d
...read more
cpp-array
C++
Implementation of lower_bound() and upper_bound() in Array of Pairs in C++
Last Updated: 01 August 2020
In this article we will discuss the implementation of the lower_bound() and upper_bound() in an array of pairs.lower_bound(): It returns an
...read more
Arrays
cpp-array
C++ Programs
cpp-pair
DSA
Find ratio of zeroes, positive numbers and negative numbers in the Array
Last Updated: 24 November 2022
Given an array a of integers of size N integers, the task is to find the ratio of positive numbers, negative numbers and zeros in the array
...read more
Arrays
cpp-array
School Programming
frequency-counting
Java-Array-Programs
DSA
Remove duplicate elements in an Array using STL in C++
Last Updated: 31 May 2022
Given an array, the task is to remove the duplicate elements from the array using STL in C++ Examples:Input: arr[] = {2, 2, 2, 2, 2}Output:
...read more
Arrays
STL
cpp-array
C++
DSA
Number of refills to complete the journey of N km
Last Updated: 22 August 2022
Given a number N which represents the total distance in km to be covered by a car on a single road. There are N petrol pumps at a distance o
...read more
Arrays
cpp-array
Constructive Algorithms
DSA
4 Dimensional Array in C/C++
Last Updated: 14 June 2022
Prerequisite :Array in C/C++, More on array A four-dimensional (4D) array is an array of array of arrays of arrays or in other words 4D arra
...read more
cpp-array
C Language
array::begin() and array::end() in C++ STL
Last Updated: 13 June 2022
Array classes are generally more efficient, light-weight and reliable than C-style arrays. The introduction of array class from C++11 has of
...read more
STL
cpp-array
C++
How to Create a Dynamic 2D Array Inside a Class in C++?
Last Updated: 23 May 2022
A dynamic array is an array that can grow, resize itself, contains a dynamic table, which is mutable in nature, or an array list is randomly
...read more
cpp-array
cpp-pointer
cpp-class
C Language
C++
Print 2D matrix in different lines and without curly braces in C/C++?
Last Updated: 09 May 2022
Following is a general way of printing 2D matrix such that every row is printed in separate lines.[tabby title="C"][sourcecode language="c"]
...read more
cpp-array
C Language
C++
What’s difference between “array” and “&array” for “int array[5]” ?
Last Updated: 02 November 2022
If someone has defined an array such as “int array[5]”, what’s the meaning of “array” or “array”? Are they both same or are th
...read more
cpp-array
cpp-pointer
C Language
C++
Difference Between
What are the data types for which it is not possible to create an array?
Last Updated: 18 December 2024
In C, an array is a collection of variables of the same data type, stored in contiguous memory locations. Arrays can store data of primitive
...read more
cpp-data-types
cpp-array
C Language
C Array and String
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
>>
Last
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 !