I thought I should get compile error for the following char array definition of the allData:
void MyClass::aMethod(const char* data, int siz
Some C++ compilers have an option that allows to use C VLA in C++.