摘要: WHAT A WONDERFUL CODE (With apologies to George Weiss and Bob Thiele) I can see the code, and change it too I can make it do things I want it to do And I think to myself, what a wonderful code I s... 阅读全文
posted @ 2007-09-07 23:52 MainTao 阅读(468) 评论(0) 推荐(0) 编辑
摘要: if 数组名直接作为参数压栈 then sizeof(数组名) = 一个指针所占字节数 else sizeof(数组名) = 数组所占字节数 测试程序如下: typedef struct{ char array[32]; }node_t; void fun1(node_t node) { printf("%d\n", sizeof(node.... 阅读全文
posted @ 2007-09-07 23:19 MainTao 阅读(2142) 评论(1) 推荐(2) 编辑