Code: // this statement is required on all programs that should compile as an executable package main //to import the 'fmt' package that implements formatted I/O functions import "fmt" // * is used to indicate pointers // * is also used to indicate the value inside the pointers func swap(xPtr *int, yPtr *int) { //Println … Continue reading A simple ‘Go’ program to swap variable values with pointers