SlideShare a Scribd company logo
2
Most read
4
Most read
5
Most read
Submitted By-
Sharad Dubey
Submitted To-
Prof. Nitin Paharia Sir
 A collection of homogeneous data items that are stored at
contiguous memory locations.
 Syntax of declaring ArrayVariable:-
data_type variable_name [size]
Example:- float s_height[40];
 Syntax of accessing array elements:-
variable_name [index]
Example:- s_height[3]=5.4;
sum=sum+s_height[3];
 A pointer is a variable that can hold the address of
another variable.
 Syntax of declaring pointer variable:-
data_type*variable_name
Example:- int*a ; char*a ;
Where,* is used to denote that “a” is pointer variable
and not a normal variable.
 Array Of Pointers is a linear consecutive sequence of
memory locations each of which represents a pointer.
 We can assign pointers as an Array Of Pointer with the
following syntax-
data_type *pointer_name[size]
Example:- int*ptr[10];
Here, ptr refers to an array of 10 pointers.
Output:-
Array Of Pointers

More Related Content

PPTX
arrays and pointers
Samiksha Pun
 
PPTX
Array in C
adityas29
 
PPT
Enumerated data types in C
Arpana shree
 
PPTX
Pointers in c - Mohammad Salman
MohammadSalman129
 
PPTX
Array in C
Kamal Acharya
 
PDF
Data types in c++
RushikeshGaikwad28
 
PPTX
Unit 9. Structure and Unions
Ashim Lamichhane
 
PPTX
Pointers and Dynamic Memory Allocation
Rabin BK
 
arrays and pointers
Samiksha Pun
 
Array in C
adityas29
 
Enumerated data types in C
Arpana shree
 
Pointers in c - Mohammad Salman
MohammadSalman129
 
Array in C
Kamal Acharya
 
Data types in c++
RushikeshGaikwad28
 
Unit 9. Structure and Unions
Ashim Lamichhane
 
Pointers and Dynamic Memory Allocation
Rabin BK
 

What's hot (20)

PPTX
Functions in python
colorsof
 
PPTX
Data types in python
RaginiJain21
 
PPT
RECURSION IN C
v_jk
 
PPTX
Inheritance in c++
Vineeta Garg
 
PPTX
classes and objects in C++
HalaiHansaika
 
PPT
FUNCTIONS IN c++ PPT
03062679929
 
PPTX
Functions in C
Kamal Acharya
 
PPTX
07. Virtual Functions
Haresh Jaiswal
 
PPTX
Functions in c language
tanmaymodi4
 
PPT
Function overloading(c++)
Ritika Sharma
 
PPTX
Presentation on Function in C Programming
Shuvongkor Barman
 
PPTX
Variables in C++, data types in c++
Neeru Mittal
 
PPTX
Strings in C language
P M Patil
 
PPT
Class and object in C++
rprajat007
 
PPTX
Abstract class in c++
Sujan Mia
 
PPTX
Pointers in c++
Vineeta Garg
 
PPTX
C keywords and identifiers
Akhileshwar Reddy Ankireddy
 
PPTX
class and objects
Payel Guria
 
PPTX
Constructors and Destructor in C++
International Institute of Information Technology (I²IT)
 
PPTX
Function in C program
Nurul Zakiah Zamri Tan
 
Functions in python
colorsof
 
Data types in python
RaginiJain21
 
RECURSION IN C
v_jk
 
Inheritance in c++
Vineeta Garg
 
classes and objects in C++
HalaiHansaika
 
FUNCTIONS IN c++ PPT
03062679929
 
Functions in C
Kamal Acharya
 
07. Virtual Functions
Haresh Jaiswal
 
Functions in c language
tanmaymodi4
 
Function overloading(c++)
Ritika Sharma
 
Presentation on Function in C Programming
Shuvongkor Barman
 
Variables in C++, data types in c++
Neeru Mittal
 
Strings in C language
P M Patil
 
Class and object in C++
rprajat007
 
Abstract class in c++
Sujan Mia
 
Pointers in c++
Vineeta Garg
 
C keywords and identifiers
Akhileshwar Reddy Ankireddy
 
class and objects
Payel Guria
 
Function in C program
Nurul Zakiah Zamri Tan
 
Ad

Similar to Array Of Pointers (20)

PPTX
Pointers Notes.pptx
kartikeysaxenaco21a4
 
DOC
Pointer
Shankar Gangaju
 
PPTX
3.ArraysandPointers.pptx
FolkAdonis
 
PPTX
POLITEKNIK MALAYSIA
Aiman Hud
 
PPTX
Presentation of c 1
Love preet
 
PPTX
Chapter5.pptx
dhanajimirajkar1
 
PPTX
Pointers in c
CHANDAN KUMAR
 
PPT
CPointer-hk.ppt
ZaibunnisaMalik1
 
PPT
Pointers and arrays
Bhuvana Gowtham
 
PPTX
Pointers in C
Kamal Acharya
 
PPT
Pointers on data structure in computer science.ppt
MdSabbirAhmedEkhon
 
PPTX
Computer programming and utilization (2)
Digvijaysinh Gohil
 
PPT
C pointers
Aravind Mohan
 
PPT
l7-pointers.ppt
ShivamChaturvedi67
 
PPTX
Unit-4-1.pptxjtjrjfjfjfjfjfjfjfjrjrjrjrjejejeje
KathanPatel49
 
PPTX
Address, Pointers, Arrays, and Structures.pptx
Dr. Amna Mohamed
 
PDF
Pointers [compatibility mode]
Kathmandu University
 
PPTX
C programming - Pointer and DMA
Achyut Devkota
 
PPT
Ch5 array nota
Hattori Sidek
 
PPTX
Arrays
RaziyasultanaShaik
 
Pointers Notes.pptx
kartikeysaxenaco21a4
 
3.ArraysandPointers.pptx
FolkAdonis
 
POLITEKNIK MALAYSIA
Aiman Hud
 
Presentation of c 1
Love preet
 
Chapter5.pptx
dhanajimirajkar1
 
Pointers in c
CHANDAN KUMAR
 
CPointer-hk.ppt
ZaibunnisaMalik1
 
Pointers and arrays
Bhuvana Gowtham
 
Pointers in C
Kamal Acharya
 
Pointers on data structure in computer science.ppt
MdSabbirAhmedEkhon
 
Computer programming and utilization (2)
Digvijaysinh Gohil
 
C pointers
Aravind Mohan
 
l7-pointers.ppt
ShivamChaturvedi67
 
Unit-4-1.pptxjtjrjfjfjfjfjfjfjfjrjrjrjrjejejeje
KathanPatel49
 
Address, Pointers, Arrays, and Structures.pptx
Dr. Amna Mohamed
 
Pointers [compatibility mode]
Kathmandu University
 
C programming - Pointer and DMA
Achyut Devkota
 
Ch5 array nota
Hattori Sidek
 
Ad

Recently uploaded (20)

PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 
PDF
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
PPT
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PDF
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PDF
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
PPTX
Congenital Hypothyroidism pptx
AneetaSharma15
 
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
PDF
1.Natural-Resources-and-Their-Use.ppt pdf /8th class social science Exploring...
Sandeep Swamy
 
PPTX
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
PDF
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PDF
High Ground Student Revision Booklet Preview
jpinnuck
 
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
PPTX
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
PPTX
Strengthening open access through collaboration: building connections with OP...
Jisc
 
PPTX
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 
Open Quiz Monsoon Mind Game Final Set.pptx
Sourav Kr Podder
 
Module 3: Health Systems Tutorial Slides S2 2025
Jonathan Hallett
 
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
3.The-Rise-of-the-Marathas.pdfppt/pdf/8th class social science Exploring Soci...
Sandeep Swamy
 
Congenital Hypothyroidism pptx
AneetaSharma15
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
1.Natural-Resources-and-Their-Use.ppt pdf /8th class social science Exploring...
Sandeep Swamy
 
Odoo 18 Sales_ Managing Quotation Validity
Celine George
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
UTS Health Student Promotional Representative_Position Description.pdf
Faculty of Health, University of Technology Sydney
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
High Ground Student Revision Booklet Preview
jpinnuck
 
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
Strengthening open access through collaboration: building connections with OP...
Jisc
 
Presentation on Janskhiya sthirata kosh.
Ms Usha Vadhel
 

Array Of Pointers

  • 1. Submitted By- Sharad Dubey Submitted To- Prof. Nitin Paharia Sir
  • 2.  A collection of homogeneous data items that are stored at contiguous memory locations.  Syntax of declaring ArrayVariable:- data_type variable_name [size] Example:- float s_height[40];  Syntax of accessing array elements:- variable_name [index] Example:- s_height[3]=5.4; sum=sum+s_height[3];
  • 3.  A pointer is a variable that can hold the address of another variable.  Syntax of declaring pointer variable:- data_type*variable_name Example:- int*a ; char*a ; Where,* is used to denote that “a” is pointer variable and not a normal variable.
  • 4.  Array Of Pointers is a linear consecutive sequence of memory locations each of which represents a pointer.  We can assign pointers as an Array Of Pointer with the following syntax- data_type *pointer_name[size] Example:- int*ptr[10]; Here, ptr refers to an array of 10 pointers.