According to question What does string array[] = ""; mean and why does it work? I want to ask what difference between s1 and s2 in the code below:
int main() {
const char* s1 = { "Hello" }; // strange but work as followed
const char* s2 = "Hello"; // ordinary case
return 0;
}
Why extra curly braces are permitted? Any reference to C++ standard will be useful.