Data Structures and Algorithms for Geeks: Algo#46: Determine growing direction of stack.
Algo#46: Determine growing direction of stack.
Note down the address of a local variable. Call another function with a local variable declared in it and check the address of that local variable and compare both.
Following is implementation of above algorithm in c language.
Read full article from Data Structures and Algorithms for Geeks: Algo#46: Determine growing direction of stack.
No comments:
Post a Comment