//char carray[]="nihao"; char carray[]={'a','b','c','d','\0'}; printf("array=%s",carray); 转载于:https://www.cnblogs.com/sea-stream/p/11071161.html