size_t、ptrdiff_t
摘要:
http://longzxr.blog.sohu.com/196837377.html对于指向同一数组arr[5]中的两个指针之差的验证: 数组如下:ptr = arr;-------------------------------------------------------------------------------------------int _tmain(int argc, _TCHAR* argv[]){char arr[5] = {1,2,3,4,5};char *ptr = arr;printf("%d\n",&ptr[4]-&ptr[ 阅读全文
posted @ 2012-10-08 14:48 屁屁侠 阅读(6678) 评论(1) 推荐(0) 编辑