allocate memory c++

Example:
        int *p = new int[10]