质量为本、客户为根、勇于拼搏、务实创新
c语言如何创建字符串数组
在C语言中,创建字符串数组可以有多种方式。
char str[10]; str[0] = 'H'; str[1] = 'e'; str[2] = 'l'; str[3] = 'l'; str[4] = 'o'; str[5] = '