Question: Create a program named arrayList.cpp. In that program, add the following functions. void Insert(int data[], int item, int& length); bool isEmpty(int[], int size); bool isPresent(int
Create a program named arrayList.cpp. In that program, add the following functions.
void Insert(int data[], int item, int& length);
bool isEmpty(int[], int size);
bool isPresent(int data[], int item, int length);
void Delete(int data[], int item, int &length);
void printList(int data[], int length);
sample output:

1. Insert 15, 39, -90, 64 into a list. Now, 15, 39, -90, 64, are in the list. 2. The current lenght of the list is 4 3. Check whether 39 is in the list. The number is in the list. Delete 39. Now, 15, 64, -90, are in the list. De lete -90, 15, 64 sequentially The list is empty. Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
