/* fb3.c Jim Plank CS360 -- Systems Programming Malloc lecture #1 October, 1996 */ #include main() { int j, *buf; for (j = 0; j < 10; j++) { buf = (int *) malloc(4); printf("malloc(4) returned 0x%x\n", buf); } }