Growth of Stack
// This function will return 1 if the stack is going upwards, and otherwise.
int is_going_upward(const int *main_addess) {
int local_address;
return (main_addess < &local_address);
}Last updated
// This function will return 1 if the stack is going upwards, and otherwise.
int is_going_upward(const int *main_addess) {
int local_address;
return (main_addess < &local_address);
}Last updated