字符数组可以在定义的时候整体的时候赋初值,而不能在赋值语句中整体赋值下面是正确的char str[14]={"i love cs"};下面是错误的char str[14]; str[]="i love cs";