我输入时没有错误
char a[10] = "Hi";
但是当我将其更改为以下内容时,我收到错误: Array type char is not assignable.
Array type char is not assignable.
char a[10]; a = "Hi";
为什么数组类型char不可分配?是因为语言是故意写的还是我错过了一点?
c++
c++ ×1