Given the following struct definition; USE C PROGRAM
#define MAX 20
typedef struct{ int items[MAX]; int count;}Array;Define the functions:void addItem(Array *a, int item); // adds item to the arrayvoid printArray(Array a); // displays elements of itemsint isFull(Array a); //returns 1 if the items is full; 0 if otherwiseint isEmpty(Array a); //returns 1 if the items is empty; 0 if otherwise
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here