Skip to content

Instantly share code, notes, and snippets.

@100daysofdevops
Created October 3, 2019 00:51
Show Gist options
  • Select an option

  • Save 100daysofdevops/b2a0a4e66752f363ef53f8e35ace2239 to your computer and use it in GitHub Desktop.

Select an option

Save 100daysofdevops/b2a0a4e66752f363ef53f8e35ace2239 to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
var students [3] string
fmt.Printf("Students: %v\n", students)
students[0] = "Ram"
students[1] = "Shyam"
students[2] = "Mohan"
fmt.Printf("Students: %v\n", students)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment