A pointer to a variable is the address of that variable in memory.

Unlike C++, Go doesn’t allow pointer arithmetic i.e. you can’t add or substract from pointers.

Zero value of a pointer is nil.

https://codeeval.dev/gist/08711992585c137e36db943ccee6ac36

Once these functions are defined, you can do the following:

https://codeeval.dev/gist/8ad73e5d3b4bdfc3aae03bbefd766b35