Why there is no compile error for the array definition with non-constant value?

后端 未结 2 2013
故里飘歌
故里飘歌 2020-12-21 05:39

I thought I should get compile error for the following char array definition of the allData:

void MyClass::aMethod(const char* data, int siz         


        
2条回答
提交回复
热议问题