SlideShare a Scribd company logo
3
What is Array ?
1. An array is a collection of data items, all of the
same type , accessed using a common name.
2. It is simply a grump of data types
3. An array is a derived data type
4. An array is used to represent a list od numbers
or list of names
Most read
5
Accessing Array Elements
An element is accessed by indexing the array name.
This is done by placing the index of the element
within square brackets after the name of the array.
For example: double salary= balance[20] ;
Most read
8
Declaration of one-dimensional Array
1.The general form of array declaration is type
array_name [size]
2.Here the type specifies the data type of elements int
the array , such as int , float or char
3.The size indicates the maximum numbers of elements
that can be stored inside the array.
For Example: int a[10]
Most read
WELCOME TO OUR PRESENTATION
[ARRAY]
IS OUR PRESENTATION TOPIC
Group Name is Backspace
What is Array ?
1. An array is a collection of data items, all of the
same type , accessed using a common name.
2. It is simply a grump of data types
3. An array is a derived data type
4. An array is used to represent a list od numbers
or list of names
Types of Array
1.One dimensional array
2.Two-dimensional array
3.Multi dimensional array
Accessing Array Elements
An element is accessed by indexing the array name.
This is done by placing the index of the element
within square brackets after the name of the array.
For example: double salary= balance[20] ;
unisized array initialization
can skip the size of an array in array initialization
Element of an array can be added or removed without
changing array dimensions.
EX: float price[ ]={50,60,70,80};
One dimensional Array
SYNTAX:
Data-type name [index];
Declaration of one-dimensional Array
1.The general form of array declaration is type
array_name [size]
2.Here the type specifies the data type of elements int
the array , such as int , float or char
3.The size indicates the maximum numbers of elements
that can be stored inside the array.
For Example: int a[10]
one dimensional Array scores code & output
Two dimensional Array
SYNTAX:
Data type-Array name[ row size] [ colum size ]
Declaration of Two dimensional Array
1. The general form of two dimensional array declaration is-
type array_name[row size][columsize]
2. Here the type specifies the data type of elements of the
Array such as int , float or char.
Two dimensional Array scores code & output
Multi dimensional Array
SYNTAX:
Type_array name[s1][s2][s3]…..s[n]
Need of Array
1. Till now, We have been storing data in simple variables
2. Although storing data of large number of people is use
3. To store this large data, the developers developed the
concept of arrays in language.
Advantage of Array
1.Huge amount of data can be stored under single
variable name.
2.Searching of data item of faster.
3.Two dimensional Arrays are used to represent the
matries.
Presentation on array

More Related Content

What's hot (20)

Arrays
ArraysArrays
Arrays
SARITHA REDDY
 
Array Introduction One-dimensional array Multidimensional array
Array Introduction One-dimensional array Multidimensional arrayArray Introduction One-dimensional array Multidimensional array
Array Introduction One-dimensional array Multidimensional array
imtiazalijoono
 
Pointers in C Programming
Pointers in C ProgrammingPointers in C Programming
Pointers in C Programming
Jasleen Kaur (Chandigarh University)
 
Arrays in c
Arrays in cArrays in c
Arrays in c
Jeeva Nanthini
 
One Dimensional Array
One Dimensional Array One Dimensional Array
One Dimensional Array
dincyjain
 
Structure in C
Structure in CStructure in C
Structure in C
Kamal Acharya
 
arrays and pointers
arrays and pointersarrays and pointers
arrays and pointers
Samiksha Pun
 
Abstract data types
Abstract data typesAbstract data types
Abstract data types
Poojith Chowdhary
 
Sparse matrix and its representation data structure
Sparse matrix and its representation data structureSparse matrix and its representation data structure
Sparse matrix and its representation data structure
Vardhil Patel
 
Binary search
Binary searchBinary search
Binary search
AparnaKumari31
 
Function in C program
Function in C programFunction in C program
Function in C program
Nurul Zakiah Zamri Tan
 
Character Array and String
Character Array and StringCharacter Array and String
Character Array and String
Tasnima Hamid
 
Two dimensional arrays
Two dimensional arraysTwo dimensional arrays
Two dimensional arrays
Neeru Mittal
 
Strings Functions in C Programming
Strings Functions in C ProgrammingStrings Functions in C Programming
Strings Functions in C Programming
DevoAjit Gupta
 
stack & queue
stack & queuestack & queue
stack & queue
manju rani
 
Data Types and Variables In C Programming
Data Types and Variables In C ProgrammingData Types and Variables In C Programming
Data Types and Variables In C Programming
Kamal Acharya
 
Pointer in c
Pointer in cPointer in c
Pointer in c
lavanya marichamy
 
Strings
StringsStrings
Strings
Mitali Chugh
 
Array
ArrayArray
Array
Anil Neupane
 
linked list in data structure
linked list in data structure linked list in data structure
linked list in data structure
shameen khan
 

Similar to Presentation on array (20)

Array in c
Array in cArray in c
Array in c
Harsh Bhanushali
 
Arrays Basics
Arrays BasicsArrays Basics
Arrays Basics
Nikhil Pandit
 
Arrays
ArraysArrays
Arrays
Notre Dame of Midsayap College
 
arrays.docx
arrays.docxarrays.docx
arrays.docx
lakshmanarao027MVGRC
 
Arrays
ArraysArrays
Arrays
Manthan Dhavne
 
2D-Arrays
2D-Arrays2D-Arrays
2D-Arrays
Sampad Kar
 
lec 2- array declaration and initialization.pptx
lec 2- array declaration and initialization.pptxlec 2- array declaration and initialization.pptx
lec 2- array declaration and initialization.pptx
shiks1234
 
UNIT-5_Array in c_part1.pptx
UNIT-5_Array in c_part1.pptxUNIT-5_Array in c_part1.pptx
UNIT-5_Array in c_part1.pptx
sangeeta borde
 
arrays-130116232821-phpapp02.pdf
arrays-130116232821-phpapp02.pdfarrays-130116232821-phpapp02.pdf
arrays-130116232821-phpapp02.pdf
MarlonMagtibay2
 
Arrays.pptx
Arrays.pptxArrays.pptx
Arrays.pptx
NavyaParashir
 
Array
ArrayArray
Array
Deep Shah
 
Array 2 hina
Array 2 hina Array 2 hina
Array 2 hina
heena94
 
arrayy.ppt
arrayy.pptarrayy.ppt
arrayy.ppt
ssuserb82af5
 
Chyuuuuuuuuuuryyyyyyyyyyy123456789786341.pptx
Chyuuuuuuuuuuryyyyyyyyyyy123456789786341.pptxChyuuuuuuuuuuryyyyyyyyyyy123456789786341.pptx
Chyuuuuuuuuuuryyyyyyyyyyy123456789786341.pptx
RobertCarreonBula
 
Arrays in Data Structure and Algorithm
Arrays in Data Structure and Algorithm Arrays in Data Structure and Algorithm
Arrays in Data Structure and Algorithm
KristinaBorooah
 
Lec 25 - arrays-strings
Lec 25 - arrays-stringsLec 25 - arrays-strings
Lec 25 - arrays-strings
Princess Sam
 
ARRAYS.pptx
ARRAYS.pptxARRAYS.pptx
ARRAYS.pptx
MamataAnilgod
 
uderstanding arrays and how to declare arrays
uderstanding arrays and how to declare arraysuderstanding arrays and how to declare arrays
uderstanding arrays and how to declare arrays
ShirishaBuduputi
 
Array
ArrayArray
Array
Mehar_Aqib_Chudhary
 
ARRAY (specially for computer science students).pptx
ARRAY (specially for computer science students).pptxARRAY (specially for computer science students).pptx
ARRAY (specially for computer science students).pptx
royatanu222006
 
Ad

More from topu93 (9)

Presentation travel to learn & learn to travel(ted)
Presentation travel to learn & learn to travel(ted)Presentation travel to learn & learn to travel(ted)
Presentation travel to learn & learn to travel(ted)
topu93
 
Presentation on set in discrete mathe
Presentation on set in discrete mathePresentation on set in discrete mathe
Presentation on set in discrete mathe
topu93
 
Presentation on java
Presentation on javaPresentation on java
Presentation on java
topu93
 
Presentation on electric circuit
Presentation on electric circuit Presentation on electric circuit
Presentation on electric circuit
topu93
 
Presentation on c programing satcture
Presentation on c programing satcture Presentation on c programing satcture
Presentation on c programing satcture
topu93
 
Presentation on c structures
Presentation on c   structures Presentation on c   structures
Presentation on c structures
topu93
 
Presentation on computer science & engineering (cse)
Presentation on  computer science  & engineering (cse)Presentation on  computer science  & engineering (cse)
Presentation on computer science & engineering (cse)
topu93
 
Matrix
MatrixMatrix
Matrix
topu93
 
Presentation on heat and temperature
Presentation on heat and temperaturePresentation on heat and temperature
Presentation on heat and temperature
topu93
 
Presentation travel to learn & learn to travel(ted)
Presentation travel to learn & learn to travel(ted)Presentation travel to learn & learn to travel(ted)
Presentation travel to learn & learn to travel(ted)
topu93
 
Presentation on set in discrete mathe
Presentation on set in discrete mathePresentation on set in discrete mathe
Presentation on set in discrete mathe
topu93
 
Presentation on java
Presentation on javaPresentation on java
Presentation on java
topu93
 
Presentation on electric circuit
Presentation on electric circuit Presentation on electric circuit
Presentation on electric circuit
topu93
 
Presentation on c programing satcture
Presentation on c programing satcture Presentation on c programing satcture
Presentation on c programing satcture
topu93
 
Presentation on c structures
Presentation on c   structures Presentation on c   structures
Presentation on c structures
topu93
 
Presentation on computer science & engineering (cse)
Presentation on  computer science  & engineering (cse)Presentation on  computer science  & engineering (cse)
Presentation on computer science & engineering (cse)
topu93
 
Matrix
MatrixMatrix
Matrix
topu93
 
Presentation on heat and temperature
Presentation on heat and temperaturePresentation on heat and temperature
Presentation on heat and temperature
topu93
 
Ad

Recently uploaded (20)

fy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
fy06_46f6-ht30_22_oil_gas_industry_guidelines.pptfy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
fy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
sukarnoamin
 
Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)
elelijjournal653
 
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Mohamed905031
 
ISO 10121-Flat Sheet Media-Catalouge-Final.pdf
ISO 10121-Flat Sheet Media-Catalouge-Final.pdfISO 10121-Flat Sheet Media-Catalouge-Final.pdf
ISO 10121-Flat Sheet Media-Catalouge-Final.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
ISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdf
ISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdfISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdf
ISO 4548-7 Filter Vibration Fatigue Test Rig Catalogue.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 / HIFLUX Co., Ltd.
 
Highway Engineering - Pavement materials
Highway Engineering - Pavement materialsHighway Engineering - Pavement materials
Highway Engineering - Pavement materials
AmrutaBhosale9
 
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCHUNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
Sridhar191373
 
HVAC Air Filter Equipment-Catalouge-Final.pdf
HVAC Air Filter Equipment-Catalouge-Final.pdfHVAC Air Filter Equipment-Catalouge-Final.pdf
HVAC Air Filter Equipment-Catalouge-Final.pdf
FILTRATION ENGINEERING & CUNSULTANT
 
ISO 5011 Air Filter Catalogues .pdf
ISO 5011 Air Filter Catalogues      .pdfISO 5011 Air Filter Catalogues      .pdf
ISO 5011 Air Filter Catalogues .pdf
FILTRATION ENGINEERING & CUNSULTANT
 
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
RishabhGupta578788
 
"The Enigmas of the Riemann Hypothesis" by Julio Chai
"The Enigmas of the Riemann Hypothesis" by Julio Chai"The Enigmas of the Riemann Hypothesis" by Julio Chai
"The Enigmas of the Riemann Hypothesis" by Julio Chai
Julio Chai
 
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdfKevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Medicoz Clinic
 
Proposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor RuleProposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor Rule
AlvaroLinero2
 
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
BeHappy728244
 
All about the Snail Power Catalog Product 2025
All about the Snail Power Catalog  Product 2025All about the Snail Power Catalog  Product 2025
All about the Snail Power Catalog Product 2025
kstgroupvn
 
Structural Health and Factors affecting.pptx
Structural Health and Factors affecting.pptxStructural Health and Factors affecting.pptx
Structural Health and Factors affecting.pptx
gunjalsachin
 
Video Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptxVideo Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptx
HadiBadri1
 
May 2025 - Top 10 Read Articles in Artificial Intelligence and Applications (...
May 2025 - Top 10 Read Articles in Artificial Intelligence and Applications (...May 2025 - Top 10 Read Articles in Artificial Intelligence and Applications (...
May 2025 - Top 10 Read Articles in Artificial Intelligence and Applications (...
gerogepatton
 
fy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
fy06_46f6-ht30_22_oil_gas_industry_guidelines.pptfy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
fy06_46f6-ht30_22_oil_gas_industry_guidelines.ppt
sukarnoamin
 
Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)Electrical and Electronics Engineering: An International Journal (ELELIJ)
Electrical and Electronics Engineering: An International Journal (ELELIJ)
elelijjournal653
 
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Numerical Investigation of the Aerodynamic Characteristics for a Darrieus H-t...
Mohamed905031
 
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 락피팅 카달로그 2025 (Lok Fitting Catalog 2025)
하이플럭스 / HIFLUX Co., Ltd.
 
Highway Engineering - Pavement materials
Highway Engineering - Pavement materialsHighway Engineering - Pavement materials
Highway Engineering - Pavement materials
AmrutaBhosale9
 
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCHUNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
Sridhar191373
 
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
RishabhGupta578788
 
"The Enigmas of the Riemann Hypothesis" by Julio Chai
"The Enigmas of the Riemann Hypothesis" by Julio Chai"The Enigmas of the Riemann Hypothesis" by Julio Chai
"The Enigmas of the Riemann Hypothesis" by Julio Chai
Julio Chai
 
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdfKevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Medicoz Clinic
 
Proposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor RuleProposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor Rule
AlvaroLinero2
 
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
Direct Current circuitsDirect Current circuitsDirect Current circuitsDirect C...
BeHappy728244
 
All about the Snail Power Catalog Product 2025
All about the Snail Power Catalog  Product 2025All about the Snail Power Catalog  Product 2025
All about the Snail Power Catalog Product 2025
kstgroupvn
 
Structural Health and Factors affecting.pptx
Structural Health and Factors affecting.pptxStructural Health and Factors affecting.pptx
Structural Health and Factors affecting.pptx
gunjalsachin
 
Video Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptxVideo Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptx
HadiBadri1
 
May 2025 - Top 10 Read Articles in Artificial Intelligence and Applications (...
May 2025 - Top 10 Read Articles in Artificial Intelligence and Applications (...May 2025 - Top 10 Read Articles in Artificial Intelligence and Applications (...
May 2025 - Top 10 Read Articles in Artificial Intelligence and Applications (...
gerogepatton
 

Presentation on array

  • 1. WELCOME TO OUR PRESENTATION [ARRAY] IS OUR PRESENTATION TOPIC
  • 2. Group Name is Backspace
  • 3. What is Array ? 1. An array is a collection of data items, all of the same type , accessed using a common name. 2. It is simply a grump of data types 3. An array is a derived data type 4. An array is used to represent a list od numbers or list of names
  • 4. Types of Array 1.One dimensional array 2.Two-dimensional array 3.Multi dimensional array
  • 5. Accessing Array Elements An element is accessed by indexing the array name. This is done by placing the index of the element within square brackets after the name of the array. For example: double salary= balance[20] ;
  • 6. unisized array initialization can skip the size of an array in array initialization Element of an array can be added or removed without changing array dimensions. EX: float price[ ]={50,60,70,80};
  • 8. Declaration of one-dimensional Array 1.The general form of array declaration is type array_name [size] 2.Here the type specifies the data type of elements int the array , such as int , float or char 3.The size indicates the maximum numbers of elements that can be stored inside the array. For Example: int a[10]
  • 9. one dimensional Array scores code & output
  • 10. Two dimensional Array SYNTAX: Data type-Array name[ row size] [ colum size ]
  • 11. Declaration of Two dimensional Array 1. The general form of two dimensional array declaration is- type array_name[row size][columsize] 2. Here the type specifies the data type of elements of the Array such as int , float or char.
  • 12. Two dimensional Array scores code & output
  • 13. Multi dimensional Array SYNTAX: Type_array name[s1][s2][s3]…..s[n]
  • 14. Need of Array 1. Till now, We have been storing data in simple variables 2. Although storing data of large number of people is use 3. To store this large data, the developers developed the concept of arrays in language.
  • 15. Advantage of Array 1.Huge amount of data can be stored under single variable name. 2.Searching of data item of faster. 3.Two dimensional Arrays are used to represent the matries.