How to generate Random numbers? We can generate Random numbers by using rand() or random() function. This is defined in "stdlib.h". Example below illustrates to generate Random number. #include #include int main() { int i; int num; int range; num = random(); // or else use rand() printf("\nnum : %d", num); num = random(); // or else use rand() printf("\nnum : %d", num); return 0; } But everytime you run this program, it will give same series. Starting number is decided by the seed, which is always initialized by 0 for rand(). If we want a different series, we need to initiate seed value using srand(int). That means, for a particular seed value, we always get one series. srand(int); Good way of initiating seed value is by using time, so that everytime we get different value for seed. See the example below: #include #include #include int main() { int i; int num; int range; time_t seconds; ti...