Use an IDE to create the program Lab1c.cpp as follows.
(Lab1c.cpp) Write Lab1c.cpp in the following order.
Write A Function Prototype
Write a function prototype for the function namedallocIntArray. The function receives an integerparameter for the number of integer values the allocated memory cancontain. The function returns a pointer to the first integer valuein the allocated memory.
Write The Main Function
Define and initialize a pointer named ptr1 for pointing to anint value.
Define and initialize a pointer named ptr2 for pointing to anint value.
Allocate an array that can contain 100 int values by callingallocIntArray and assign the returned pointer to ptr1.
Store odd numbers starting from
OR
OR