Write routine for the following operation in array implementation of List.
i)
Creation of an Array
ii)
Inserting elements in an array
iii)
Deleting elements from an array
Answers
Answered by
0
Answer:
the position where the element to be inserted is greater than the size of an array display Invalid Input.
Input format:
Input consists of 3 integers and 1 array.
Input the size of the array.
Input the array elements.
Input the position where the element should be inserted.
Input the element to be inserted in that position.
Sample Input:
5 (size of the array)
1 (array elements)
2
3
4
5
4 (Position)
10 (Element to be inserted
Explanation:
pls mark me brainliest
Similar questions