So from my previous memmove question I would like to know how to find direction of stack growth.
void stackDirection(int* i) { int j; if(&
Your function depends on int* parameter which can point to anywhere, and also be NULL. It is better to compare addresses of two local variables.