1234567891011
#include <stdio.h>#include <stdlib.h>#include <time.h>int main(int argc, const char *argv[]) { int i; srand( clock() ); for(i=0; i <= 10; i++) printf("%d\n", rand()); return 0;}