C语言学习笔记(6)字符串
字符串的定义和与初始化 1.用字符型数组初始化char ch[12];ch[0] = 'H';ch[1] = 'e';······或者char ch[12] = {'H','e',······} 2.用字符串常量初始化char ch1[14] = {"Programming!"};//或char ch1[14] = "Programming!"; //占14...