摘要:
1 #include <stdio.h> 2 3 int&foo(int a) 4 { 5 static int t; 6 t = a; 7 return t; 8 } 9 10 void main(void)11 {12 if (foo(1) == foo(2))13 {14 printf("right!\n");15 }16 return;17 } 最后结果为:right! 下面为执行过程中的汇编代码:16: if (foo(1) == foo(2))00401078 push 10040107A c... 阅读全文
posted @ 2011-08-31 21:48
子坞
阅读(297)
评论(0)
推荐(0)

浙公网安备 33010602011771号