Quiz · Strings · lesson 2 of 8
Quiz — writing into a string
What happens when this program is built and run?
package main
import "fmt"
func main() {
s := "go"
s[0] = 'G'
fmt.Println(s)
}Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.