From 3a2586e5294c4730b9ab1bd873a62d23156bef9b Mon Sep 17 00:00:00 2001 From: Jyoti Singla <56391719+jyotisingla08@users.noreply.github.com> Date: Sat, 23 Oct 2021 13:43:59 +0530 Subject: [PATCH] Create defaultarray.go default array --- GO/defaultarray.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 GO/defaultarray.go 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) + +}