stack direction used by compiler

Newbie Member
21Mar2008,15:23   #1
ravi.agarwal1982's Avatar
Hi All,

Is it possible write a c program to find out the stack direction(higher to lower memory address or vice versa), used by Compiler?

Thank you.
Regards,
Manish
Contributor
25Mar2008,15:24   #2
lead.smart34's Avatar
ya sure
Contributor
25Mar2008,15:24   #3
lead.smart34's Avatar
you can try out the following link
www.devx.com/tips/Tip/37412