diff --git a/GO/defaultarray.go b/GO/defaultarray.go new file mode 100644 index 0000000..e4aba2b --- /dev/null +++ b/GO/defaultarray.go @@ -0,0 +1,13 @@ +import "fmt" + +func main() { + +// Creating an array of int type +// which stores, two elements +// Here, we do not initialize the +// array so the value of the array +// is zero +var myarr[2]int +fmt.Println("Elements of the Array :", myarr) + +}