Sobes.tech
Intern — Middle

What output will the program produce when printing a string slice of 10 elements

livecode

Task condition

Determine what value will be displayed when a slice of ten strings is created in a Go program and printed using fmt.Println.

package main

import "fmt"

func main() {
    s := make([]string, 10)
    fmt.Println(s)
}