1 2 3 4 5 6 7 8 9 10 11 12
#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <time.h> int main() { srand((unsigned) time(NULL)); printf("number is: %d", rand()); return 0; }
1
number is: 81702301