Pls explain this program (original) (raw)

Getting Help

10IN_ALL (10IN ALL)

November 22, 2025, 4:36pm 1

why stack growth not happening at this program

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

Helmut_Wais (Helmut Wais) November 23, 2025, 12:09pm 2

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: