posted @ 2011-10-27 19:30 灬啊U 阅读(272) 评论(0) 推荐(0) 编辑
摘要:
1.地址访问方法:#include<stdio.h>int main(){ char str1[] = "I love china",str2[20]; int i; for (i = 0;*(a+i) != '\0';i++) { *(b+i) = *(a+i); } *(b+i) = '\0'; printf("The string str1 are :\n",a); printf("The string str2 are:"); for (i = 0;*(b+i) != '\0 阅读全文