Advertisements
Advertisements
Question
Define Array and Pointer Array in the data structure.
Solution
Array: An array is a data structure which allows a collective name to be given to a group of elements which all have the same type. An individual element of an array is identified by its own unique index (or subscript). An array can be thought of as a collection of numbered boxes each containing one data item.
Pointer Array: An array is called pointer array if each element of that array is a pointer.
shaalaa.com
Basic Data Structures (Stack, Queue, Dequeue)
Is there an error in this question or solution?