/* CSE 333 Su12 Lecture 3 demo: test.c */ /* Gribble/Perkins */ /* Check if malloc can successfully allocate a 10,000,000 byte array */ #include #include #define AMOUNT 10000000 int main(int argc, char **argv) { char *x = (char *) malloc(AMOUNT); return 0; }