Hi everyone

Please i need help with this question. it says:

Write down a function that reads in a set of integers into an array X and returns it to its caller . Assume that the maximum size of the array is 100.

I am particularly confused on how to stop the loop if the elements are less than 100 and whether to read in the values from the main or from the function.!!!!!

I need this because a similar question will be asked for my exam tomorrow. Any help is highly appreciated.