摘要: 字符串的输入输出 printf和scanf 格式控制符为%s /*s为string的意思*/ 与字符型数据处理不同的是,用%s后面的变量一定是数组名或是字符指针 如: char *pc=”string!”; printf(“%s\n”,pc); 字符数组与指针 定义格式:区别 char *pc=”s 阅读全文
posted @ 2021-11-07 15:09 httpcc 阅读(235) 评论(0) 推荐(0) 编辑