void array()
{
int random;
srand(time(NULL));
for (random = 0; random < 50; random++) {
printf("/%d", rand() % 1000 + 1);
}
}
We're going to create a random number function like this I want to flip this function upside down, but what should I do with the pointer... I'm a beginner, so I don't think I'll get the hang of it.
pointer
I don't know exactly what it means to turn it upside down. If you want to print random numbers in the opposite order of generation, you need to store them first.
© 2024 OneMinuteCode. All rights reserved.