上一页 1 ··· 94 95 96 97 98 99 100 101 102 ··· 121 下一页
摘要: #include int main(void){ int a[] = {6,7,8,9,10}; int *ptr = a; *(ptr++) += 123; printf("%d, %d\n",*ptr, *(... 阅读全文
posted @ 2012-07-07 10:35 wdliming 阅读(103) 评论(0) 推荐(0)
摘要: /*Filename: getmemory.cVersion: 0.0.1Date: 11-02-2012 12:58Description: use malloc() ,free() to apply ... 阅读全文
posted @ 2012-07-06 20:48 wdliming 阅读(326) 评论(0) 推荐(0)
摘要: /*Filename: getmemory.cVersion: 0.0.1Date: 11-02-2012 12:58Description: use malloc() ,free() to apply ... 阅读全文
posted @ 2012-07-06 20:48 wdliming 阅读(157) 评论(0) 推荐(0)
摘要: 首先sizeof在C语言里是关键字,而不是一个函数,下面的语句执行之后,i的值是保持不变的,j = sizeof(++i + ++i);下面是C语言里部分数据类型的sizeof的值:下面是一道C语言的面试题:#i... 阅读全文
posted @ 2012-07-06 16:39 wdliming 阅读(162) 评论(0) 推荐(0)
摘要: 首先sizeof在C语言里是关键字,而不是一个函数,下面的语句执行之后,i的值是保持不变的,j = sizeof(++i + ++i);下面是C语言里部分数据类型的sizeof的值:下面是一道C语言的面试题:#i... 阅读全文
posted @ 2012-07-06 16:39 wdliming 阅读(141) 评论(0) 推荐(0)
摘要: case后面跟表达式的必须是常量表达式,这个值和全局变量的初始值一样必须在编译时计算出来。The case constant expression must be a constant integer value... 阅读全文
posted @ 2012-07-06 14:08 wdliming 阅读(231) 评论(0) 推荐(0)
摘要: case后面跟表达式的必须是常量表达式,这个值和全局变量的初始值一样必须在编译时计算出来。The case constant expression must be a constant integer value... 阅读全文
posted @ 2012-07-06 14:08 wdliming 阅读(138) 评论(0) 推荐(0)
摘要: #include int checkCPU();int main(){ int a=1; char * p=(char*)&a; if(*p==1) printf("Little edian\n"); else... 阅读全文
posted @ 2012-07-06 13:44 wdliming 阅读(150) 评论(0) 推荐(0)
摘要: #include int checkCPU();int main(){ int a=1; char * p=(char*)&a; if(*p==1) printf("Little edian\n"); else... 阅读全文
posted @ 2012-07-06 13:44 wdliming 阅读(145) 评论(0) 推荐(0)
摘要: #include int main(){ int a=1; char * p=(char*)&a; if(*p==1) printf("Little edian\n"); else printf("Big e... 阅读全文
posted @ 2012-07-06 11:42 wdliming 阅读(180) 评论(0) 推荐(0)
上一页 1 ··· 94 95 96 97 98 99 100 101 102 ··· 121 下一页