Say you have an array "rand_myArray" and a function "func_callmyArray"
So are you saying you need func_callmyArray to call any random number stored in rand_myArray in main() ?
OR
Do you mean func_callmyArray itself needs to generate some randomized ints and store its value in rand_myArray in main()?So each time rand_myArray needs to populate its value,its calls on func_callmyArray to generate it.
I need the right function to get random numbers from the spesific array .
1) i don't understand this part
2) is this your HW?
3) if the 2nd question's answer is "no", please post your code so there's somebody could help you...