why stack growth not happening at this program
Just a typo maybe?
The array on the stack isn’t used in recursion.
Replacing ok(i, s) with ok(i, &f) does give growing addresses:
why stack growth not happening at this program
Just a typo maybe?
The array on the stack isn’t used in recursion.
Replacing ok(i, s) with ok(i, &f) does give growing addresses: