在C语言中没有字符串类型,用字符数组处理字符串定义字符数组定义:char 数组名[常量 ... #include<string.h> int main() { char str[10]; printf("请输入字符串"); ...
確定! 回上一頁