Question: What is the select statement used for?
- executing a function concurrently
- executing a different case based on the type of a variable
- executing a different case based on the value of a variable
- executing a different case based on which channel returns first
Answer: The correct answer of the above question is Option D:executing a different case based on which channel returns first