C Traps and Pitfalls书中第52页的例子程序