What are the advantages of array over simple variable declaration
Answers
Answered by
1
Advantages:
It is used to represent multiple data items of same type by using only single name.It can be used to implement other data structures like linked lists, stacks, queues, trees, graphs etc.2D arrays are used to represent matrices.
It is used to represent multiple data items of same type by using only single name.It can be used to implement other data structures like linked lists, stacks, queues, trees, graphs etc.2D arrays are used to represent matrices.
Similar questions