Quiz 1
1. What is a 'struct' in Go?
2. What defines a Go 'interface'?
3. When does a 'defer' statement execute?
4. Which symbol is used to access the value a pointer points to?
5. How do you get the memory address of a variable?
6. What is a method 'receiver' in Go?
7. How is a 'slice' different from an 'array'?
8. Which function is used to initialize a map?
9. How do you check the length of a slice?
10. What does 'append' do to a slice?
Previous Next