This commit is contained in:
wagslane
2023-05-01 15:25:27 -06:00
parent f8912668b8
commit 9be3074de6
868 changed files with 58698 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
{
"question": "What is the value of *y after the code on the left executes?",
"answers": [
"100",
"a memory address pointing to x",
"nil",
"50"
]
}

View File

@@ -0,0 +1,13 @@
# Pointers Quiz
```go
package main
import "fmt"
func main() {
var x int = 50
var y *int = &x
*y = 100
}
```