指针与数组
摘要:
1 int main(void) 2 { 3 char a[] = "hello"; 4 char *pi = strchr(a,'e'); 5 6 printf("%6s -- %p \n",pi,pi); 7 printf("%6s -- %p \n",a,a); 8 9 return 0;10 }输出 ello -- 0x7fff079d8e11 hello -- 0x7fff079d8e10媚惑你的东西又来了,一定要分清哦! 阅读全文
posted @ 2011-11-24 16:58
I'm legend
阅读(247)
评论(0)
推荐(0)
浙公网安备 33010602011771号