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 优雅小猪 阅读(180) 评论(0) 收藏 举报