摘要: int array[] = {1,2,3,4}; #define SIZE (sizeof(array)/sizeof(array[0])) int i=-1; if(i<SIZE) { ...................... } 该条件的语句永远都不会执行。 因为sizeof 返回的是uns 阅读全文
posted @ 2017-08-05 15:32 颜小雀 阅读(182) 评论(0) 推荐(0) 编辑