Go language deep-dive
Practice · Senior
Question 1 of 4
Save
Save & exit
Finish
Question 1 of 4
Go
Flag for review
What happens when a goroutine sends on an unbuffered channel?
A
It always drops the value.
B
It waits until a receiver can take the value.
C
It returns an error if the channel is empty.
D
It allocates a buffer of size one.
Previous
Next
Test · Zia