Note that the title in the following description is "incorrect".
namely
According to upstairs, char a [] = "ABC" is legal in C/C++, so it should be.
You can assign a character array as a whole through the assignment operator "=" in the assignment statement.
Obviously, D's "can't" is wrong.
If you give the best, give it upstairs.