Stdle #72 · slices · 2026-08-17
What does this Go snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
package main import "fmt" func main() { s := make([]int, 3, 8) fmt.Println(len(s), cap(s))}Slices
Stdle #72 · slices · 2026-08-17
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
package main import "fmt" func main() { s := make([]int, 3, 8) fmt.Println(len(s), cap(s))}