What is array and its types?



What is array and its types?..

Answer / Tarun Kumar Chaturvedi

An Array in C++ is a collection of elements of the same data type stored at contiguous memory locations. The types of arrays include one-dimensional, two-dimensional, multi-dimensional, dynamic (also called array of pointers), and C-style strings.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What are the advantages of linked list over an array?

1 Answers  


Which is better hashmap or hashtable?

1 Answers  


what is traversal in linked lists?

1 Answers  


What is a undirected graph?

1 Answers  


What is bubble sort and quick sort?

1 Answers  


Write the postfix form of the expression: (a + b) * (c - d)

1 Answers  


Which interface provides the capability to store objects using a key-value pair?

1 Answers  


What is adt and its advantages?

1 Answers  


Why do we use different types of data structures?

1 Answers  


Write an algorithm to show various operations on ordered list and arrays

1 Answers  


Where is data structure used?

1 Answers  


What is linked hash set?

1 Answers  


Categories