time random c
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main() {
srand(time(NULL)); // Seed the random number generator with the current time
// Generate and print a random number between 1 and 100
int random_number = rand() % 100 + 1;
printf("Random number: %d\n", random_number);
return 0;
}