cpp
9/18/2018 - 3:52 PM

01 simple new and delete with array


// simple new and delete.

    char * d = new char[1];
    d[0]='A';
    delete [] d;