home *** CD-ROM | disk | FTP | other *** search
- #include <stdlib.h>
- #include <time.h>
- #include <stdio.h>
-
- #include "alloca.h"
-
- #define ASIZE 2048
-
- int
- main ()
- {
- int *b;
- register int i;
-
- srand (time (0));
-
- b = alloca (ASIZE);
-
- for (i = 0; i < (ASIZE >> 2); i++)
- b[i] = rand ();
-
- printf ("%x\n", b);
- return 0;
- }
-