Debian Codegraph @

contrib/fingergoodies/random.c

raw symbols SCIP
1 /*
2 random.c
3 This program randomly picks one of its command line arguments and prints it.
4 [Raphael Quinet, 07 Feb 92, 13 May 93]
5 */
6 main(v,c)char**c;{srandom((int)time(!++c)*getpid());v-->1?printf("%s\n",c[random()%v]):(int)v;}