Question 5:
(1 mark, file to be edited: Q5.c)
Your program allows users to enter an array of 'n' integers, where 'n' is entered by the user.
The user is asked to continue entering values for 'p'. The program then removes the element at index 'p'in the array.
Print the elements of the array to the screen
Below is an example:
n = 4; array = (9, 0, 1, 8); p = 2
4 of 4
Paper No: 2
+ 100%
Zoom
Close