Pointers

Welcome to tutorial no. 15 in Golang tutorial series. In this tutorial, we will learn how pointers work in Go and we will also understand how Go pointers differ from pointers in other languages such as C and C++. This tutorial has the following sections. What is a pointer? Declaring pointers Zero value of a pointer Creating pointers using the new function Dereferencing a pointer Passing pointer to…