Following are the various operations supported by an array.
Traverse − print all the array elements one by one.
Insertion − add an element at given index.
Deletion − delete an element at given index.
Search − search an element using given index or by value.
Update − update an element at given index.
In traversing operation of an array, each element of an array is accessed exactly for once for processing. This is also called visiting of an array.
Insert operation is to insert one or more data elements into an array. Based on the requirement, new element can be added at the beginning, end or any given index of array.
Deletion refers to removing an existing element from the array and re-organizing all elements of an array.
You can perform a search for array element based on its value or its index.
Update operation refers to updating an existing element from the array at a given index.