How do you initialise a dynamic array in C++?

char* c = new char[length]();

Leave a Comment