Pls explain this program

why stack growth not happening at this program

https://go.dev/play/p/hBC6jwXrAyY

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:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.