char c[]={'c','h','i','n','a','\0'};那个是结束符,算长度时,它算吗?
char c[]={'c','h','i','n','a'};char c[]={'c','h','i','n','a','\0'};可书上说不等价,因为上面的长度是5,下面的是6,但char[] = {"china"}和char c[]={'c','h','i','n','a','\0'};是等价的.