Subject : C
Subject teacher : Mr. hament Kumar
Made by : Rahul Sharma
ARRAY
Defination of Array
An array is a collection
of element of same data
type.
ARRAY
There are three types of array which are as
follows:
One dimensional array(or Linear array)
Two dimensional array(or Matrix)
Multi dimensional array
TYPES OF ARRAY
It is a linear collection of elements of same data type.
Declaration:-It declare as follows
o Syntax :data-type array-name[size]
o Example: int x[5]
Memory Allocation
ONE DIMENSIONAL
ARRAY
x[0] X[1] X[2] X[3] X[4]
It is the collection of elements of same data type in the form
of matrix.
Declaration:- Two dimensional array is declare as
follows
o Syntax :data-type array-name[row][column]
o Example: int a[3][3]
Memory Allocation
TWO DIMENSIONAL
ARRAY
a[0][0]
a[1][0]
a[2][0]
a[0][1] a[0][2]
a[1][1] a[1][2]
a[2][1] a[2][2]
It is a multi dimensional collection of element of same data type
Declaration :- Multi dimensional array is declare
as follows
o Syntax: data-type array-name[index1][index2]_ _
_ _ _ _[index n]
o Example:int p[3][3][3]
MULTI DIMENSIONAL
ARRAY
THANK YOU FOR
ALL YOUR
CONCENTRATION

More Related Content

PPTX
Introduction To Data Structures.
PPTX
DATA STRUCTURE
PPTX
Arrays In C Language
PPT
Arrays Basics
PDF
Data Structures
PPT
Data structures
PPTX
Array in c programming
PPTX
Arrays in c
Introduction To Data Structures.
DATA STRUCTURE
Arrays In C Language
Arrays Basics
Data Structures
Data structures
Array in c programming
Arrays in c

What's hot (20)

PPTX
Array c programming
PPTX
PPTX
arrays of structures
PPTX
Array in c
PPT
7.basic array
PDF
Data Structure Basics
PPTX
Presentation on array
PPT
PPTX
Introduction to Array ppt
PPT
Lecture 2a arrays
PPTX
Array in c
PPTX
Array in c programming
PPTX
ARRAY
PPTX
Basic array in c programming
PPTX
Array in C
PDF
2nd puc computer science chapter 3 data structures 1
PPTX
Array
PDF
Introduction of data structures and algorithms
PPTX
Data structure power point presentation
Array c programming
arrays of structures
Array in c
7.basic array
Data Structure Basics
Presentation on array
Introduction to Array ppt
Lecture 2a arrays
Array in c
Array in c programming
ARRAY
Basic array in c programming
Array in C
2nd puc computer science chapter 3 data structures 1
Array
Introduction of data structures and algorithms
Data structure power point presentation
Ad

Similar to Array (20)

PPTX
4.arrays
PDF
cluod.pdf
PDF
arrays-130116232821-phpapp02.pdf
PPTX
Arrays in Data Structure and Algorithm
PPTX
Arrays in c
PPT
Arrays
PPT
Chapter 3 ds
PDF
8074.pdf
PPTX
BHARGAVIARRAY.PPT.pptx
PPTX
Arrays in C++ in Tamil - TNSCERT SYLLABUS PPT
PPTX
Arrays.pptx
DOCX
Datastructures and algorithms prepared by M.V.Brehmanada Reddy
PPTX
Introduction to Array & Structure & Basic Algorithms.pptx
PPTX
PPT
Lecture 15 - Array
PPT
Array in c
PPTX
A singly linked list is a linear data structure
PPTX
PPTX
U2.pptx Advanced Data Structures and Algorithms
4.arrays
cluod.pdf
arrays-130116232821-phpapp02.pdf
Arrays in Data Structure and Algorithm
Arrays in c
Arrays
Chapter 3 ds
8074.pdf
BHARGAVIARRAY.PPT.pptx
Arrays in C++ in Tamil - TNSCERT SYLLABUS PPT
Arrays.pptx
Datastructures and algorithms prepared by M.V.Brehmanada Reddy
Introduction to Array & Structure & Basic Algorithms.pptx
Lecture 15 - Array
Array in c
A singly linked list is a linear data structure
U2.pptx Advanced Data Structures and Algorithms
Ad

More from Rahul Sharma (20)

PPTX
Introduction to computer networks & it’s usage
PPTX
Understanding the components of standard template library
PPTX
System of book keeping
PPTX
Standard deviation
PPTX
Pipeline processing and space time diagram
PPTX
Object oriented programming
PPTX
If and select statement
PPTX
Depriciation
PPTX
BLOCK DIAGRAM OF HARDWIRED CONTROL UNIT
PPTX
Accounting standards(as)
PPT
Listing skill
PPTX
If and select statement
PPTX
Object oriented programming
PPT
Listeningskills 120213044302-phpapp01
PPTX
Euler’s formula
PPTX
Stack 111104232459-phpapp02
PPTX
Smart cards 07521102013
PPTX
Data,information and database
PPT
Basic computer fundamentals
PPTX
Rolling friction
Introduction to computer networks & it’s usage
Understanding the components of standard template library
System of book keeping
Standard deviation
Pipeline processing and space time diagram
Object oriented programming
If and select statement
Depriciation
BLOCK DIAGRAM OF HARDWIRED CONTROL UNIT
Accounting standards(as)
Listing skill
If and select statement
Object oriented programming
Listeningskills 120213044302-phpapp01
Euler’s formula
Stack 111104232459-phpapp02
Smart cards 07521102013
Data,information and database
Basic computer fundamentals
Rolling friction

Recently uploaded (20)

PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
HVAC Specification 2024 according to central public works department
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PPTX
20th Century Theater, Methods, History.pptx
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
Trump Administration's workforce development strategy
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PPTX
Introduction to pro and eukaryotes and differences.pptx
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Complications of Minimal Access-Surgery.pdf
PDF
International_Financial_Reporting_Standa.pdf
PPTX
Virtual and Augmented Reality in Current Scenario
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
HVAC Specification 2024 according to central public works department
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
20th Century Theater, Methods, History.pptx
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
Trump Administration's workforce development strategy
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
202450812 BayCHI UCSC-SV 20250812 v17.pptx
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Introduction to pro and eukaryotes and differences.pptx
Cambridge-Practice-Tests-for-IELTS-12.docx
FORM 1 BIOLOGY MIND MAPS and their schemes
AI-driven educational solutions for real-life interventions in the Philippine...
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Chinmaya Tiranga quiz Grand Finale.pdf
What if we spent less time fighting change, and more time building what’s rig...
Complications of Minimal Access-Surgery.pdf
International_Financial_Reporting_Standa.pdf
Virtual and Augmented Reality in Current Scenario

Array

  • 1. Subject : C Subject teacher : Mr. hament Kumar Made by : Rahul Sharma ARRAY
  • 2. Defination of Array An array is a collection of element of same data type. ARRAY
  • 3. There are three types of array which are as follows: One dimensional array(or Linear array) Two dimensional array(or Matrix) Multi dimensional array TYPES OF ARRAY
  • 4. It is a linear collection of elements of same data type. Declaration:-It declare as follows o Syntax :data-type array-name[size] o Example: int x[5] Memory Allocation ONE DIMENSIONAL ARRAY x[0] X[1] X[2] X[3] X[4]
  • 5. It is the collection of elements of same data type in the form of matrix. Declaration:- Two dimensional array is declare as follows o Syntax :data-type array-name[row][column] o Example: int a[3][3] Memory Allocation TWO DIMENSIONAL ARRAY a[0][0] a[1][0] a[2][0] a[0][1] a[0][2] a[1][1] a[1][2] a[2][1] a[2][2]
  • 6. It is a multi dimensional collection of element of same data type Declaration :- Multi dimensional array is declare as follows o Syntax: data-type array-name[index1][index2]_ _ _ _ _ _[index n] o Example:int p[3][3][3] MULTI DIMENSIONAL ARRAY
  • 7. THANK YOU FOR ALL YOUR CONCENTRATION