1.指针的减法 int *p1; int *p2; int a[10];
p1=a; p2=&a[5];
int test=p2-p1; //则test为5
posted on 2007-01-31 17:31 优雅小猪 阅读(167) 评论(0) 编辑 收藏 举报