Quiz 4
1. What is a 'Struct' in Go?
2. How do you define a new struct named 'User'?
3. What does a pointer store in Go?
4. Which operator is used to get the memory address of a variable?
5. How does Go implement behavior similar to 'Classes'?
6. What is an 'Interface' in Go?
7. How are errors typically handled in Go?
8. If a function returns an error, what value indicates 'no error'?
9. What does the 'defer' keyword do?
10. What is a 'Goroutine'?
Previous Next