Write a program that illustrates your knowledge of pointers and objects. Create a program that creates an array of objects. Create an array of pointers to these objects. Use a for loop to create the objects and load the values. The numbers should be generated using the rand() function. Use a while loop to list out the values using the pointer array.
The data attributes should be:
int value; char 'E' or 'O' for even and odd.
Have a function that determines whether the number is even or odd.