Complete the code to declare a pointer to an integer variable.
var p [1]intIn Go, a pointer to a type is declared using the * symbol before the type.
Complete the code to assign the address of variable x to pointer p.
p := [1]xThe address of a variable is obtained using the & operator in Go.
Fix the error in the pointer declaration to correctly declare a pointer to a string.
var strPtr [1]stringThe correct way to declare a pointer to a string is using *string.
Fill both blanks to declare a pointer to a float64 and assign it the address of variable f.
var ptr [1]float64 ptr = [2]f
Use * to declare a pointer type and & to get the address of a variable.
Fill all three blanks to declare a pointer to an int, assign it the address of n, and then dereference it to get the value.
var p [1]int p = [2]n value := [3]p
Declare pointer with *int, assign address with &n, and dereference with *p.