What does a pointer store in Go?
- Data type
- Memory address
- Reference
- Value
In Go, a pointer stores the memory address of a variable. When you declare a pointer variable in Go, it holds the memory address of the variable it points to, allowing indirect access to the variable's value.
Loading...
Related Quiz
- Interfaces in Go are satisfied _____.
- What types of coverage does code coverage analysis typically measure?
- Constants in Go are typically used for values that are known and unlikely to _______ during program execution.
- The Gin framework is known for its _____ performance and small memory footprint.
- What is the main difference between an array and a slice in Go?