const char* testarr[]={{},};
const char* testarr[]={{}};
Both of these statements are compiled and works well (during a test code). But I do not understand why the first statement (with a comma - , ) succeeded. Any thoughts or comments?
To my senses - the unnecessary comma should cause it to fail.
Environment : Linux, g++, and this is in global area of a header file.