Junior — Senior
What text will appear in the console when running program №4
livecode
Task condition
Determine what output a program written in Go will produce:
package main
import (
"fmt"
)
func main (){
s0 := "some string"
s1 := []byte(s0)
s2 := s1[5:]
s2[3] = 'o'
fmt.Println(string(s2))
fmt.Println(string(s1))
fmt.Println(string(s0))
}