Created
October 3, 2019 00:53
-
-
Save 100daysofdevops/41a148fa0a78686615ab3505521b165d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import "fmt" | |
| func main() { | |
| var students [3] string | |
| students[0] = "Ram" | |
| students[1] = "Shyam" | |
| students[2] = "Mohan" | |
| fmt.Printf("Length of an array: %v\n", len(students)) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment