cpp_crash

why this code crash

        const int MAX_LEN = 10 * 1024;
        int len = MAX_LEN;
        char buffer[MAX_LEN];