字符数组初始化方式总结 (1)char c[10]={'c',' ','p','r','o','g','r','a','m'}; (2)char c[]={'c',' ','p','r','o','g','r','a','m'}; (3)char c[]={"c program"}; (4)char c[]="c program";