Redian新闻
>
有个关于stack address的问题
avatar
有个关于stack address的问题# Programming - 葵花宝典
e*e
1
记得哪里见到过,好像说问你怎么判断stack是往哪个方向长的
请问这道题是怎么描述的,如何解答呢?多谢
avatar
T*r
2
int a;
int b;
if (&a < &b)
grow_up
else
grow_down
avatar
t*t
3
that's not safe, you need to have 2 function frames

【在 T********r 的大作中提到】
: int a;
: int b;
: if (&a < &b)
: grow_up
: else
: grow_down

avatar
c*x
4
it is a stack, always, the first is located higher addr( the bottom)
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。