Pointers In Golang

A pointer is a variable that holds the memory address of another variable. Instead of holding the value itself, it holds the address where…