Sobes.tech
Junior — Senior

What is the output of the program? (example 74)

livecode

Task condition

What will be printed after executing the following Go program?

package main

import (
    "fmt"
)

func main(){
    a := []int{1,2,3,4,5}
    a = a[:3]
    b := a[3:]
    fmt.Println(b[:2])
}