Quiz 2
1. What does runtime.GOMAXPROCS control?
2. How do you get the reflect.Type of a variable x?
3. When does a send operation on a buffered channel block?
4. What is the result of embedding a struct into another struct?
5. When is the init() function in a package executed?
6. Which describes a Go slice internal structure?
7. What happens if you call close() on an already closed channel?
8. How do goroutines handle stack memory?
9. What does 'iota' do in a const block?
10. Which type is used for writing benchmark tests?
Previous Next