I am trying to write a function that asks the user how many numbers they want to create and then dynamically allocating an array of that may elements. Then fill each element with a random number. I am not sure how to dynamically allocate an array in a function. I know arrays need constants but I am not sure how to do it dynamically. If anyone can help me I would appreciate it.