I come, I see, I conquer

                    —Gaius Julius Caesar

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

 

1. 堆栈与堆的位置示意图

 

2. 发现你的系统中堆栈的大致位置

#include <stdio.h>

main()
{
    
int i;
    printf(
"The stack top is near %p \n"&i);    
    
return 0;
}

 

程序输出:

The stack top is near 0012FF7C

 

posted on 2008-10-05 11:05  jcsu  阅读(466)  评论(0)    收藏  举报