[ create a new paste ] login | about

Link: http://codepad.org/9VhlViwp    [ raw code | output | fork ]

C, pasted on Feb 22:
1
2
3
4
5
6
7
8
9
10
    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>

    int main(int argc, char *argv[])
    {
      srand(time(NULL));
      printf("%d", rand());
      return 0;
    }


Output:
1
104486507


Create a new paste based on this one


Comments: