c语言-指针和字符串
摘要:
1、 字符串的表示形式在C语言中,我们可以用两种方式访问字符串(1) 用字符数组存放一个字符串,然后输出该字符串。main(){ char string[]="I love China!"; printf("%s\n", string);}(2)... 阅读全文
posted @ 2017-09-12 14:55 sichenzhao 阅读(257) 评论(0) 推荐(0) 编辑
posted @ 2017-09-12 14:55 sichenzhao 阅读(257) 评论(0) 推荐(0) 编辑
posted @ 2017-09-12 11:33 sichenzhao 阅读(468) 评论(0) 推荐(0) 编辑