|
|
const char[x]
which can be converted to const char*
. It is not compatible with char* at all. In fact it should be error. Compiler allows that because in old times when there were no standard and anarchy governed C++, it was allowed. Not anymore. At least for last 15 years.