My question arises from trying to read a channel, if I can, or write it, if I can, using a select statement.
I know that channels specified like m
An unbuffered channel means that read and writes from and to the channel are blocking.
In a select statement:
default case is executed, which happens in your case A.