Skip to content
Courses
DSA to Development
Machine Learning & Data Science
Generative AI & ChatGPT
Become AWS Certified
DSA Courses
Data Structure & Algorithm(C++/JAVA)
Data Structure & Algorithm(Python)
Data Structure & Algorithm(JavaScript)
Programming Languages
CPP
Java
Python
JavaScript
C
All Courses
Tutorials
Python Tutorial
Taking Input in Python
Python Operators
Python Data Types
Python Loops and Control Flow
Python Conditional Statements
Python Loops
Python Functions
Python OOPS Concept
Python Data Structures
Python Exception Handling
Python File Handling
Python Exercises
Java
Learn Java Programming Language
Java Collections
Java 8 Tutorial
Java Programs
Java Interview Questions
Java Interview Questions
Core Java Interview Questions-Freshers
Java Multithreading Interview Questions
OOPs Interview Questions and Answers
Java Exercises
Java Quiz
Java Quiz
Core Java MCQ
Java Projects
Advance Java
Spring Tutorial
Spring Boot Tutorial
Spring Boot Interview Questions
Spring MVC Tutorial
Spring MVC Interview Questions
Hibernate Tutorial
Hibernate Interview Questions
Programming Languages
JavaScript
C++
R Tutorial
SQL
PHP
C#
C
Scala
Perl
Go Language
Kotlin
System Design
System Design Tutorial
Software Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions and Answers
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Computer Science Subjects
Operating System
DBMS
Computer Networks
Engineering Mathematics
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps
GIT
AWS
Docker
Kubernetes
Microsoft Azure Tutorial
Google Cloud Platform
Linux
Linux Tutorial
Linux Commands A-Z
Linux Commands Cheatsheet
File Permission Commands
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Interview Questions
Software Testing
Software Testing Tutorial
Software Engineering Tutorial
Testing Interview Questions
Jira
Databases
DBMS Tutorial
SQL Tutorial
PostgreSQL Tutorial
MongoDB Tutorial
SQL Interview Questions
MySQL Interview Questions
PL/SQL Interview Questions
Android
Android Tutorial
Android Studio Tutorial
Kotlin For Android
Android Projects
Android Interview Questions
6 Weeks of Android App Development
Excel
MS Excel Tutorial
Introduction to MS Excel
Data Analysis in Excel
Basic Excel Formulas & Functions
Data Analysis in Advanced Excel
Workbooks
Statistical Functions
Data Visualization in Excel
Pivot Tables in Excel
Excel Spreadsheets in Python
Basic Excel Shortcuts
Mathematics
Number System
Algebra
Linear Algebra
Trigonometry
Set Theory
Statistics
Probability
Geometry
Mensuration
Logarithms
Calculus
DSA
Data Structures
Arrays
Matrix
Strings
Linked List
Stack
Queue
Tree
Heap
Hashing
Graph
Set Data Structure
Map Data Structure
Advanced Data Structure
Data Structures Tutorial
Algorithms
Analysis of Algorithms
Design and Analysis of Algorithms
Asymptotic Analysis
Asymptotic Notations
Worst, Average and Best Cases
Searching Algorithms
Linear Search
Binary Search
Searching Algorithms Tutorial
Sorting Algorithms
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Heap Sort
Counting Sort
Radix Sort
Bucket Sort
Sorting Algorithms Tutorial
Greedy Algorithms
Dynamic Programming
Graph Algorithms
Pattern Searching
Recursion
Backtracking
Divide and Conquer
Mathematical Algorithms
Geometric Algorithms
Bitwise Algorithms
Randomized Algorithms
Branch and Bound
Algorithms Tutorial
DSA Tutorial
Practice
All DSA Problems
Problem of the Day
Company Wise Coding Practice
Amazon
Microsoft
Flipkart
Explore All
GfG SDE Sheet
Practice Problems Difficulty Wise
School
Basic
Easy
Medium
Hard
Language Wise Coding Practice
CPP
Java
Python
Curated DSA Lists
Beginner's DSA Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
DSA Cheat Sheets
SDE Sheet
DSA Sheet for Beginners
FAANG Coding Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top Interview Questions
Puzzles
All Puzzles
Top 100 Puzzles Asked In Interviews
Top 20 Puzzles Commonly Asked During SDE Interviews
Data Science
Python Tutorial
R Tutorial
Machine Learning
Data Science using Python
Data Science using R
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Python Data Visualization Tutorial
Data Visualization with R
Data Analysis
Data Analysis with Python
Data Analysis with R
Deep Learning
NLP Tutorial
Web Tech
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
PHP Tutorial
ReactJS Tutorial
NodeJS Tutorial
Bootstrap Tutorial
Typescript
Web Development Using Python
Django
Django Tutorial
Django Projects
Django Interview Questions
Flask
Flask Tutorial
Flask Projects
Flask Interview Questions
Postman
Github
Cheat Sheets
HTML Cheat Sheet
CSS Cheat Sheet
JavaScript Cheat Sheet
React Cheat Sheet
Angular Cheat Sheet
jQuery Cheat Sheet
Bootstrap Cheat Sheet
Learn Complete Web Development
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
▲
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
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++ Progr
...read more
c-array
cpp-array
C Language
C++
C Programs
C++ Programs
C++ Array Programs
C Array Programs
C++ Arrays
Last Updated: 10 June 2024
In C++, an array is a data structure that is used to store multiple values of similar data types in a contiguous memory location.For example
...read more
cpp-array
C++
Picked
How to Insert an element at a specific position in an Array in C++
Last Updated: 21 June 2022
An array is a collection of items stored at contiguous memory locations. In this article, we will see how to insert an element in an array i
...read more
cpp-array
C++
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
How to Find Minimum and Maximum Element of an Array Using STL in C++?
Last Updated: 28 October 2024
Given an array of n elements, the task is to find the minimum and maximum element of array using STL in C++.ExamplesInput: arr[] = {1, 45, 5
...read more
STL
cpp-array
C++
C++ Programs
CPP Examples
How to Find the Maximum Element of an Array using STL in C++?
Last Updated: 04 November 2024
Given an array of n elements, the task is to find the maximum element using STL in C++.ExamplesInput: arr[] = {11, 13, 21, 45, 8}Output: 45E
...read more
STL
cpp-array
C++
C++ Programs
CPP Examples
Multidimensional Arrays in C - 2D and 3D Arrays
Last Updated: 11 October 2024
Prerequisite: Arrays in CA multi-dimensional array can be defined as an array that has more than one dimension. Having more than one dimensi
...read more
c-array
cpp-array
C Language
C++
C-Arrays
How to Return a Local Array From a C++ Function?
Last Updated: 14 December 2022
Here, we will build a C++ program to return a local array from a function. And will come across the right way of returning an array from a f
...read more
cpp-array
CPP-Functions
C++
Array of Strings in C++ - 5 Different Ways to Create
Last Updated: 11 October 2024
In C++, a string is usually just an array of (or a reference/points to) characters that ends with the NULL character '\0'. A string is a 1-d
...read more
cpp-string
cpp-array
cpp-vector
C++
CPP Array and String
Array class in C++
Last Updated: 08 February 2023
The introduction of array class from C++11 has offered a better alternative for C-style arrays. The advantages of array class over C-style a
...read more
Arrays
STL
CPP-Library
cpp-array
C Language
C++
DSA
How to Find Size of an Array in C++ Without Using sizeof() Operator?
Last Updated: 11 October 2024
In C++, generally, we use the sizeof() operator to find the size of arrays. But there are also some other ways using which we can find the s
...read more
cpp-operator
cpp-array
cpp-sizeof
C++
Variable Length Arrays (VLAs) in C
Last Updated: 11 October 2024
In C, variable length arrays (VLAs) are also known as runtime-sized or variable-sized arrays. The size of such arrays is defined at run-time
...read more
cpp-array
C Language
C++
C Array and String
Pass Array to Functions in C
Last Updated: 18 December 2024
Passing an array to a function allows the function to directly access and modify the original array. In this article, we will learn how to p
...read more
cpp-array
cpp-pointer
CPP-Functions
C Language
C++
school-programming
CBSE - Class 11
How to pass a 2D array as a parameter in C?
Last Updated: 11 October 2024
This post is an extension of How to dynamically allocate a 2D array in C?A one dimensional array can be easily passed as a pointer, but synt
...read more
cpp-parameter-passing
cpp-array
cpp-pointer
C Language
C Array and String
How to dynamically allocate a 2D array in C?
Last Updated: 11 October 2024
Following are different ways to create a 2D array on the heap (or dynamically allocate a 2D array).In the following examples, we have consid
...read more
cpp-array
cpp-pointer
C Language
C Array and String
Difference between Arrays and Pointers
Last Updated: 07 August 2023
The array and pointers are derived data types that have lots of differences and similarities. In some cases, we can even use pointers in pla
...read more
cpp-array
cpp-pointer
C Language
C Array and String
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
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 !