Please I need help as soon as possible, I am a newbie in C++ andall of this looks super confusing for me. I need help with thefunctions below.
assume there is a 1d pointer array declared e.g int *array and theprogram is in C++
1. generateNewSet(int length) function should generate a new setwhich may require removal of the current set (via a call to thefreeMemory() function). The passed length should be verified and,if valid, the function should use rand() to generate setLengthdata. The generated data item values should be limited in range to0 and RND_LIMIT-1 (via a mod operation) as follows: static_cast(rand()%RND_LIMIT)
PayPal Gateway not configured
PayPal Gateway not configured