博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年3月21日

摘要: 程序员面试宝典第二版读书笔记(一)1:i++;What will be the output of the following C code ?#include <stdio.h>int main() { int b = 3; int arr[] = {6, 7, 8, 9, 10}; int *ptr = arr; *(ptr++) += 123; printf("%d, %d\n", *ptr, *(++ptr));}2:编程风格We have two pieces of code, which one do you prefer, and tell why 阅读全文

posted @ 2011-03-21 22:25 ¥忘%风 阅读(2065) 评论(7) 推荐(6) 编辑