Hello I want to have a code which gives a random value faster than a value per second.
Here is my code:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
int x;
srand(time(NULL));
x = rand()%100 +1;
printf("%d", x);
return 0;
}
Can you please tell me how can I make it quicker?