go Shorthand Declaration of Array in Golang
package main
import "fmt"
func main() {
// Shorthand declaration of an array in Golang
numbers := [5]int{1, 2, 3, 4, 5}
// Print the array elements
fmt.Println("Numbers:", numbers)
}
package main
import "fmt"
func main() {
// Shorthand declaration of an array in Golang
numbers := [5]int{1, 2, 3, 4, 5}
// Print the array elements
fmt.Println("Numbers:", numbers)
}