allocate 4 blocks of integer memory C++ code example
Example: dynamic memory allocation in c++
char* pvalue = NULL; // Pointer initialized with null
pvalue = new char[20]; // Request memory for the variable
char* pvalue = NULL; // Pointer initialized with null
pvalue = new char[20]; // Request memory for the variable