How to find whether the stack is progressing in forward or backward direction using C?
You're not supposed to care about that, but if you really want to know you can
take the address of a local variable; call another method that returns the address
of one of its own local variables, cast the two to longs (or other ints) and subtract
the two.
If your C implementation doesn't use a stack (which is very well possible although
not common) you're out of luck: no stack, neither ascending nor descending.
kind regards,
Jos