suppose we pass "total 320
-rw-r--r--  4 joshualunger  staff    763 27 Jan 17:01 Makefile
-rwxr-xr-x  1 joshualunger  staff  33560 27 Jan 22:24 count_large
" to stdin and run this code. Why do we get a segmentation fault?
    int total;
    int done;
    done = scanf("%*s %d %*c", &total);
    printf("%d\n%d\n", total, done);

    int size = malloc(sizeof(int));
    done = scanf("%*s %*s %*s %*s %d", &size);
    printf("%d\n%d\n", size, done);

    done = scanf("%[^\n] %*s %*s %*s %*s %d", &size);
    printf("%d\n%d\n", size, done);
