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
India Languages,
7 months ago
English,
7 months ago
Economy,
1 year ago
Physics,
1 year ago
Social Sciences,
1 year ago