Intermediate Go (Golang)
Q59 / 100

What is a goroutine's stack behavior in Go?

Correct! Well done.

Incorrect.

The correct answer is B) Goroutines start with a small stack (typically 2-8KB) that grows and shrinks dynamically as needed

B

Correct Answer

Goroutines start with a small stack (typically 2-8KB) that grows and shrinks dynamically as needed

Explanation

Go uses segmented/contiguous stacks that start small and grow automatically. This makes creating thousands of goroutines practical.

Progress
59/100