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
C Language
1.8k+ articles
C Programs
800+ articles
C Quiz
280+ articles
Arrays
260+ articles
C Examples
95 articles
C Basic Programs
71 articles
C-Structure & Union
53 articles
c-array
34 articles
C-Dynamic Memory Allocation
34 articles
C-Arrays
65 posts
Popular Articles
Recent Articles
Return an Array in C
Last Updated: 28 June 2024
In C, arrays are linear data structures that allow users to store the same data in consecutive memory locations. Returning an array in C can
...read more
c-array
C Language
C-Arrays
C Programs
Picked
C Examples
How to Find Maximum Value in an Array in C?
Last Updated: 22 February 2024
In C, arrays are data structures that allow the user to store a collection of data of the same type. In this article, we will learn how we c
...read more
C Language
C-Arrays
C Programs
Picked
C Basic Programs
Basic Coding Problems
C Examples
How to Initialize a 2D Array in C?
Last Updated: 12 September 2024
In C, a 2D Array is a type of multidimensional array in which data is stored in tabular form (rows and columns). It has two dimensions so it
...read more
c-array
C Language
C-Arrays
C Programs
Picked
C Examples
Similar Topics
DSA
22.3k+ articles
C Language
1.8k+ articles
C Programs
800+ articles
C Quiz
280+ articles
Arrays
260+ articles
C Examples
95+ articles
C Basic Programs
71+ articles
C-Structure & Union
53+ articles
c-array
34+ articles
C-Dynamic Memory Allocation
34+ articles
How to Empty a Char Array in C?
Last Updated: 18 December 2022
Prerequisite: Char Array in CChar arrays are used for storing multiple character elements in a continuous memory allocated. In a few questio
...read more
Technical Scripter
C Language
C-Arrays
Picked
Technical Scripter 2022
How to Declare and Initialize an Array of Pointers to a Structure in C?
Last Updated: 28 November 2022
Prerequisite:Structure in CArray in CIn C language, arrays are made to store similar types of data in contiguous memory locations. We can ma
...read more
Technical Scripter
C Language
C-Pointers
C-Arrays
C-Structure & Union
Picked
Technical Scripter 2022
C Program to Traverse an Array
Last Updated: 26 August 2024
Write a C program to traverse the given array that contains N number of elements.ExamplesInput: arr[] = {2, -1, 5, 6, 0, -3}Output: 2 -1 5 6
...read more
Arrays
C Language
School Programming
C-Arrays
C Programs
C Basic Programs
DSA
C Program to Sort an Array in Ascending Order
Last Updated: 20 November 2024
Sorting an array in ascending order means arranging the elements in the order from smallest element to largest element.The easiest way to so
...read more
C Language
School Programming
C-Arrays
C Programs
C Basic Programs
DSA
C Program to Insert an Element in an Array
Last Updated: 16 January 2025
In this article, we will learn how to insert an element into an array in C.C arrays have a fixed size, so we cannot dynamically increase the
...read more
c-array
C Language
C-Arrays
Difference between Structure and Array in C
Last Updated: 22 December 2022
Array in CAn array is collection of items stored at contiguous memory locations.Structure in CA structure is a user defined data type in C/C
...read more
C Language
C-Arrays
C-Structure & Union
Program to print Sum of even and odd elements in an array
Last Updated: 31 March 2023
Prerequisite - Array BasicsGiven an array, write a program to find the sum of values of even and odd index positions separately.Examples:Inp
...read more
Arrays
C-Arrays
Traversal
DSA
Basic Coding Problems
Multidimensional Arrays in C - 2D and 3D Arrays
Last Updated: 10 January 2025
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 pass an array by value in C ?
Last Updated: 18 December 2024
In C programming, arrays are always passed as pointers to the function. There are no direct ways to pass the array by value. However, there
...read more
C Language
C-Arrays
Properties of Array in C
Last Updated: 23 August 2023
An array in C is a fixed-size homogeneous collection of elements stored at a contiguous memory location. It is a derived data type in C that
...read more
C Language
C-Arrays
C Arrays
Last Updated: 24 April 2025
An array in C is a fixed-size collection of similar data items stored in contiguous memory locations. It can be used to store the collection
...read more
C Language
C-Arrays
C | Arrays | Question 7
Last Updated: 03 August 2018
Consider the following declaration of a ‘two-dimensional array in C:[sourcecode language="C"] char a[100][100]; [/sourcecode]Assuming that
...read more
C Language
C Quiz
C-Arrays
Arrays
1
2
3
4
5
>>
Last
1
2
3
4
5
>>
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 !