package main import "fmt" var myArray [5]int func main() { fmt.Println(myArray) myArray[0] = 100 fmt.Println(myArray) myArray[len(myArray)-1] = 1000 fmt.Println(myArray) }